ETH Price: $3,489.26 (+2.74%)

Token

Lazy Butts (BUTTS)
 

Overview

Max Total Supply

0 BUTTS

Holders

142

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
jeffchirino.eth
Balance
1 BUTTS
0xd71bf0494bf36feee3f5f4b21ed6363e3063d444
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:
LazyButts

Compiler Version
v0.8.21+commit.d9974bed

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-09-15
*/

// File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.sol


// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/extensions/IERC20Permit.sol)

pragma solidity ^0.8.0;

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

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

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

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


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

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

// File: @openzeppelin/contracts/utils/math/SignedMath.sol


// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard signed math utilities missing in the Solidity language.
 */
library SignedMath {
    /**
     * @dev Returns the largest of two signed numbers.
     */
    function max(int256 a, int256 b) internal pure returns (int256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two signed numbers.
     */
    function min(int256 a, int256 b) internal pure returns (int256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two signed numbers without overflow.
     * The result is rounded towards zero.
     */
    function average(int256 a, int256 b) internal pure returns (int256) {
        // Formula from the book "Hacker's Delight"
        int256 x = (a & b) + ((a ^ b) >> 1);
        return x + (int256(uint256(x) >> 255) & (a ^ b));
    }

    /**
     * @dev Returns the absolute unsigned value of a signed value.
     */
    function abs(int256 n) internal pure returns (uint256) {
        unchecked {
            // must be unchecked in order to support `n = type(int256).min`
            return uint256(n >= 0 ? n : -n);
        }
    }
}

// File: @openzeppelin/contracts/utils/math/Math.sol


// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1, "Math: mulDiv overflow");

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10 ** 64) {
                value /= 10 ** 64;
                result += 64;
            }
            if (value >= 10 ** 32) {
                value /= 10 ** 32;
                result += 32;
            }
            if (value >= 10 ** 16) {
                value /= 10 ** 16;
                result += 16;
            }
            if (value >= 10 ** 8) {
                value /= 10 ** 8;
                result += 8;
            }
            if (value >= 10 ** 4) {
                value /= 10 ** 4;
                result += 4;
            }
            if (value >= 10 ** 2) {
                value /= 10 ** 2;
                result += 2;
            }
            if (value >= 10 ** 1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0);
        }
    }
}

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


// OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol)

pragma solidity ^0.8.0;



/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toString(int256 value) internal pure returns (string memory) {
        return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value))));
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @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] = _SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }

    /**
     * @dev Returns true if the two strings are equal.
     */
    function equal(string memory a, string memory b) internal pure returns (bool) {
        return keccak256(bytes(a)) == keccak256(bytes(b));
    }
}

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


// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://consensys.net/diligence/blog/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.8.0/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 functionCallWithValue(target, data, 0, "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");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or 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 {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // 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
            /// @solidity memory-safe-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 (last updated v4.9.0) (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;

    /**
     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    /**
     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the
     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.
     */
    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));
    }

    /**
     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 oldAllowance = token.allowance(address(this), spender);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value));
    }

    /**
     * @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    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");
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value));
        }
    }

    /**
     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful. Compatible with tokens that require the approval to be set to
     * 0 before setting it to a non-zero value.
     */
    function forceApprove(IERC20 token, address spender, uint256 value) internal {
        bytes memory approvalCall = abi.encodeWithSelector(token.approve.selector, spender, value);

        if (!_callOptionalReturnBool(token, approvalCall)) {
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0));
            _callOptionalReturn(token, approvalCall);
        }
    }

    /**
     * @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`.
     * Revert on invalid signature.
     */
    function safePermit(
        IERC20Permit token,
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        uint256 nonceBefore = token.nonces(owner);
        token.permit(owner, spender, value, deadline, v, r, s);
        uint256 nonceAfter = token.nonces(owner);
        require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
    }

    /**
     * @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");
        require(returndata.length == 0 || abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
    }

    /**
     * @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).
     *
     * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead.
     */
    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
        // 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 cannot use {Address-functionCall} here since this should return false
        // and not revert is the subcall reverts.

        (bool success, bytes memory returndata) = address(token).call(data);
        return
            success && (returndata.length == 0 || abi.decode(returndata, (bool))) && Address.isContract(address(token));
    }
}

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


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

pragma solidity ^0.8.0;

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

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


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

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

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


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

pragma solidity ^0.8.0;


/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

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


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

pragma solidity ^0.8.0;


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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must 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: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 tokenId) external;

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

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

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

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

// File: @openzeppelin/contracts/token/ERC721/extensions/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/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/finance/PaymentSplitter.sol


// OpenZeppelin Contracts (last updated v4.8.0) (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. The distribution of shares is set at the
 * time of contract deployment and can't be updated thereafter.
 *
 * `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 Getter for the amount of payee's releasable Ether.
     */
    function releasable(address account) public view returns (uint256) {
        uint256 totalReceived = address(this).balance + totalReleased();
        return _pendingPayment(account, totalReceived, released(account));
    }

    /**
     * @dev Getter for the amount of payee's releasable `token` tokens. `token` should be the address of an
     * IERC20 contract.
     */
    function releasable(IERC20 token, address account) public view returns (uint256) {
        uint256 totalReceived = token.balanceOf(address(this)) + totalReleased(token);
        return _pendingPayment(account, totalReceived, released(token, account));
    }

    /**
     * @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 payment = releasable(account);

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

        // _totalReleased is the sum of all values in _released.
        // If "_totalReleased += payment" does not overflow, then "_released[account] += payment" cannot overflow.
        _totalReleased += payment;
        unchecked {
            _released[account] += 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 payment = releasable(token, account);

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

        // _erc20TotalReleased[token] is the sum of all values in _erc20Released[token].
        // If "_erc20TotalReleased[token] += payment" does not overflow, then "_erc20Released[token][account] += payment"
        // cannot overflow.
        _erc20TotalReleased[token] += payment;
        unchecked {
            _erc20Released[token][account] += 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/ERC721.sol


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

pragma solidity ^0.8.0;








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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _ownerOf(tokenId);
        require(owner != address(0), "ERC721: invalid token ID");
        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) {
        _requireMinted(tokenId);

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

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

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

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

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        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: caller is not token owner or 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: caller is not token owner or 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 the owner of the `tokenId`. Does NOT revert if token doesn't exist
     */
    function _ownerOf(uint256 tokenId) internal view virtual returns (address) {
        return _owners[tokenId];
    }

    /**
     * @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 _ownerOf(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) {
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
    }

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

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

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

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

        // Check that tokenId was not minted by `_beforeTokenTransfer` hook
        require(!_exists(tokenId), "ERC721: token already minted");

        unchecked {
            // Will not overflow unless all 2**256 token ids are minted to the same owner.
            // Given that tokens are minted one by one, it is impossible in practice that
            // this ever happens. Might change if we allow batch minting.
            // The ERC fails to describe this case.
            _balances[to] += 1;
        }

        _owners[tokenId] = to;

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

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

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     * This is an internal function that does not check if the sender is authorized to operate on the token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

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

        // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook
        owner = ERC721.ownerOf(tokenId);

        // Clear approvals
        delete _tokenApprovals[tokenId];

        unchecked {
            // Cannot overflow, as that would require more tokens to be burned/transferred
            // out than the owner initially received through minting and transferring in.
            _balances[owner] -= 1;
        }
        delete _owners[tokenId];

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

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

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

        _beforeTokenTransfer(from, to, tokenId, 1);

        // Check that tokenId was not transferred by `_beforeTokenTransfer` hook
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");

        // Clear approvals from the previous owner
        delete _tokenApprovals[tokenId];

        unchecked {
            // `_balances[from]` cannot overflow for the same reason as described in `_burn`:
            // `from`'s balance is the number of token held, which is at least one before the current
            // transfer.
            // `_balances[to]` could overflow in the conditions described in `_mint`. That would require
            // all 2**256 token ids to be minted, which in practice is impossible.
            _balances[from] -= 1;
            _balances[to] += 1;
        }
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId, 1);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits an {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 an {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 Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

    /**
     * @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 {
                    /// @solidity memory-safe-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`.
     * - When `from` is zero, the tokens will be minted for `to`.
     * - When `to` is zero, ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 firstTokenId, uint256 batchSize) internal virtual {}

    /**
     * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`.
     * - When `from` is zero, the tokens were minted for `to`.
     * - When `to` is zero, ``from``'s tokens were burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(address from, address to, uint256 firstTokenId, uint256 batchSize) internal virtual {}

    /**
     * @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override.
     *
     * WARNING: Anyone calling this MUST ensure that the balances remain consistent with the ownership. The invariant
     * being that for any address `a` the value returned by `balanceOf(a)` must be equal to the number of tokens such
     * that `ownerOf(tokenId)` is `a`.
     */
    // solhint-disable-next-line func-name-mixedcase
    function __unsafe_increaseBalance(address account, uint256 amount) internal {
        _balances[account] += amount;
    }
}

// File: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts (last updated v4.9.0) (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 Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling 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: utils/Delegated.sol



pragma solidity ^0.8.0;


contract Delegated is Ownable{
  mapping(address => bool) internal _delegates;

  constructor(){
    _delegates[owner()] = true;
  }

  modifier onlyDelegates {
    require(_delegates[msg.sender], "Invalid delegate" );
    _;
  }

  //onlyOwner
  function isDelegate( address addr ) external view onlyOwner returns ( bool ){
    return _delegates[addr];
  }

  function setDelegate( address addr, bool isDelegate_ ) external onlyOwner{
    _delegates[addr] = isDelegate_;
  }

  function transferOwnership(address newOwner) public virtual override onlyOwner {
    _delegates[newOwner] = true;
    super.transferOwnership( newOwner );
  }
}

// File: lazybutts.sol



/* 
    Lazy Butts is not affiliated with Lazy Lions.
    It is an unofficial extension brought to you by the 3D Kings.
*/

pragma solidity ^0.8.21;






contract LazyButts is
    Delegated,
    PaymentSplitter,
    ERC721
{
    using Strings for uint;

    uint256 public price = 0.02 ether;
    
    string private _tokenURIPrefix = "https://api.the3dkings.io/api/metadata/";
    string private _tokenURISuffix = ".json";

    bytes32 public merkleRoot = 0x5bbc1ee9865f275b8666093c9096f0525756bc427e2437047cef9396ff53e069;
    bool public isAllowListActive = false;
    bool public isMintActive = false;

    IERC721 private LazyLions =
        IERC721(0x8943C7bAC1914C9A7ABa750Bf2B6B09Fd21037E0);

    event Mint(address indexed to, uint indexed tokenId);
    
    mapping (address => bool) public allowListMinted;

    address[] private _payees = [
        0x49CAE18B5B796e993Cce4A43cAdA316B8c7388eC, // Community Wallet
        0x616188ADB7928954B922FBc672e2f3e82f4db578, // Operational Wallet
        0x626cdB47a91810EDb2Bde1d69e60C1B17071CF25, // Team Member Wallet
        0x6628FC01ae06E134e08E4E8A01Ed1075C77c87A1, // Team Member Wallet
        0x7Cf39e8D6F6f9F25E925Dad7EB371276231780d7, // Team Member Wallet
        0xC02Dd50b25364e747410730A1df9B72A92C3C68B  // Team Member Wallet
    ];

    uint256[] private _shares = [5000, 1000, 1000, 1000, 1000, 1000];

    constructor()
        Delegated()
        ERC721("Lazy Butts", "BUTTS")
        PaymentSplitter(_payees, _shares)
    {}

    /**
     * @param tokenId Id of token to check
     * @dev Checks if token exists and returns metadata URI
     */
    function tokenURI(
        uint tokenId
    ) public view override returns (string memory) {
        require(_exists(tokenId), "Token does not exist");
        return
            string(
                abi.encodePacked(
                    _tokenURIPrefix,
                    tokenId.toString(),
                    _tokenURISuffix
                )
            );
    }

    /**
     * @dev Checks if sender is tx.origin
     */
    modifier onlySender {
        require(msg.sender == tx.origin, "Only sender allowed");
        _;
    }

    /**
     * @dev Checks if mint is active
     */
    modifier mintActive {
        require(isMintActive, "Mint is not active");
        _;
    }

    /**
     * @param lionId Id of token to mint
     * @dev Mints token to owner
     */
    function mintButt(uint lionId) external payable onlySender mintActive {
        require(!_exists(lionId), "Token already minted");
        require(msg.value == price, "Not enough ether sent");
        address lion = LazyLions.ownerOf(lionId);
        _mint(lion, lionId);
        emit Mint(lion, lionId);
    }

    /**
     * @param lionIds Array of tokenIds to mint
     * @dev Mints tokens to owners
     */
    function mintManyButts(uint[] calldata lionIds) external payable onlySender mintActive {
        require(lionIds.length > 0, "No tokens to mint");
        require(msg.value == price * lionIds.length, "Not enough ether sent");
        address[] memory owners = new address[](lionIds.length);
        owners = _getLionOwners(lionIds);
        _mintMany(owners, lionIds);
    }

    /**
     * @param tokenIds Array of tokenIds to mint
     * @dev Mints tokens to owners
     * @dev Only callable by delegates
     */
    function buttDrop(uint[] calldata tokenIds) public payable onlyDelegates {
        require(tokenIds.length > 0, "No tokens to mint");
        address[] memory owners = new address[](tokenIds.length);
        owners = _getLionOwners(tokenIds);
        _mintMany(owners, tokenIds);
    }

    /**
     * @param tokenIds Array of tokenIds to check
     * @dev Gets owners of tokens
     */
    function _getLionOwners(
        uint[] memory tokenIds
    ) internal view returns (address[] memory owners) {
        owners = new address[](tokenIds.length);
        for (uint i; i < tokenIds.length; ++i) {
            require(!_exists(tokenIds[i]), "Token already minted");
            address lion = LazyLions.ownerOf(tokenIds[i]);
            owners[i] = lion;
        }
        return owners;
    }

    /**
     * @param owners Array of addresses to mint tokens to
     * @param lionIds Array of tokenIds to mint
     * @dev Mints tokens to owners
     */
    function _mintMany(
        address[] memory owners,
        uint[] memory lionIds
    ) internal {
        for (uint i; i < lionIds.length; ++i) {
            _mint(owners[i], lionIds[i]);
            emit Mint(owners[i], lionIds[i]);
        }
    }

    /**
     * @param prefix New prefix to append to tokenURI
     * @dev Only callable by delegates
     */
    function setTokenURIPrefix(string calldata prefix) external onlyDelegates {
        require(
            keccak256(abi.encodePacked(prefix)) !=
                keccak256(abi.encodePacked(_tokenURIPrefix)),
            "Prefix already set"
        );
        _tokenURIPrefix = prefix;
    }

    /**
     * @param suffix New suffix to append to tokenURI
     * @dev Only callable by delegates
     */
    function setTokenURISuffix(string calldata suffix) external onlyDelegates {
        require(
            keccak256(abi.encodePacked(suffix)) !=
                keccak256(abi.encodePacked(_tokenURISuffix)),
            "Suffix already set"
        );
        _tokenURISuffix = suffix;
    }

    /**
     * @param lazyLions Address of Lazy Lions contract
     * @dev Only callable by delegates
     */
    function setLazyLions(address lazyLions) external onlyDelegates {
        require(lazyLions != address(LazyLions), "Lazy Lions already set");
        LazyLions = IERC721(lazyLions);
    }

    /**
     * @param newPrice New price in wei
     * @dev Only callable by delegates
     */
    function updatePrice(uint256 newPrice) external onlyDelegates {
        require(newPrice != price, "Price already set");
        price = newPrice;
    }

    // Access List Functions

    /**
     * @param address_ Address to check
     * @param proof_ Merkle proof
     * @dev Checks merkle proof to determine if address is allowlisted.
     * @dev Merkle proof is generated off-chain.
     */
    function isAllowListed(address address_, bytes32[] memory proof_) public view returns (bool) {
        bytes32 _leaf = keccak256(abi.encodePacked(address_));

        for (uint i = 0; i < proof_.length; i++) {
            _leaf = _leaf < proof_[i] ? keccak256(abi.encodePacked(_leaf, proof_[i])) : keccak256(abi.encodePacked(proof_[i], _leaf));
        }
        return _leaf == merkleRoot;
    }

    /**
     * @param proof_ Merkle proof
     * @param lionIds Array of tokenIds to mint
     * @dev Public mint function for allowlist. Follows same rules as public mint, but requires merkle proof.
     */
    function mintAllowList(bytes32[] memory proof_, uint[] calldata lionIds) external payable {
        address _minter = msg.sender;
        require(isAllowListActive, "Allowlist is not active!");
        require(isAllowListed(_minter, proof_), "Address is not allowlisted!");
        require(lionIds.length > 0, "No tokens to mint");
        uint256 _totalPrice = allowListMinted[_minter] ? price * lionIds.length : lionIds.length > 1 ? price / 2 + price * (lionIds.length - 1) : price / 2;
        require(msg.value == _totalPrice, "Not enough ether sent");
        if (!allowListMinted[_minter]) allowListMinted[_minter] = true;
        address[] memory owners = new address[](lionIds.length);
        owners = _getLionOwners(lionIds);
        _mintMany(owners, lionIds);
    }

    /**
     * @notice Sets the merkle root for the allowlist. Can only be called by delegates.
     */ 
    function setMerkleRoot(bytes32 merkleRoot_) external onlyDelegates {
        merkleRoot = merkleRoot_;
    }

    /**
     * @notice Toggle the allowlist active state. Can only be called by delegates.
     */
    function setAllowListActive(bool isAllowListActive_) external onlyDelegates {
        require(isAllowListActive != isAllowListActive_, "Allowlist already set");
        isAllowListActive = isAllowListActive_;
    }

    /**
     * @notice Toggle the mint active state. Can only be called by delegates.
     */
    function setMintActive(bool isMintActive_) external onlyDelegates {
        require(isMintActive != isMintActive_, "Mint already set");
        isMintActive = isMintActive_;
    }

}

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":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Mint","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":"allowListMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"buttDrop","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isAllowListActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"address_","type":"address"},{"internalType":"bytes32[]","name":"proof_","type":"bytes32[]"}],"name":"isAllowListed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"internalType":"address","name":"addr","type":"address"}],"name":"isDelegate","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMintActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof_","type":"bytes32[]"},{"internalType":"uint256[]","name":"lionIds","type":"uint256[]"}],"name":"mintAllowList","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"lionId","type":"uint256"}],"name":"mintButt","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"lionIds","type":"uint256[]"}],"name":"mintManyButts","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"releasable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"releasable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":"bool","name":"isAllowListActive_","type":"bool"}],"name":"setAllowListActive","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":"address","name":"addr","type":"address"},{"internalType":"bool","name":"isDelegate_","type":"bool"}],"name":"setDelegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"lazyLions","type":"address"}],"name":"setLazyLions","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot_","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isMintActive_","type":"bool"}],"name":"setMintActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"prefix","type":"string"}],"name":"setTokenURIPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"suffix","type":"string"}],"name":"setTokenURISuffix","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":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"uint256","name":"newPrice","type":"uint256"}],"name":"updatePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

66470de4df820000600f5560e0604052602760808181529062003def60a0396010906200002d9082620007eb565b50604080518082019091526005815264173539b7b760d91b6020820152601190620000599082620007eb565b507f5bbc1ee9865f275b8666093c9096f0525756bc427e2437047cef9396ff53e069601255601380546001600160b01b031916758943c7bac1914c9a7aba750bf2b6b09fd21037e000001790556040805160c0810182527349cae18b5b796e993cce4a43cada316b8c7388ec815273616188adb7928954b922fbc672e2f3e82f4db578602082015273626cdb47a91810edb2bde1d69e60c1b17071cf2591810191909152736628fc01ae06e134e08e4e8a01ed1075c77c87a16060820152737cf39e8d6f6f9f25e925dad7eb371276231780d7608082015273c02dd50b25364e747410730a1df9b72a92c3c68b60a08201526200015b9060159060066200068b565b506040805160c08101825261138881526103e860208201819052918101829052606081018290526080810182905260a0810191909152620001a1906016906006620006f3565b50348015620001ae575f80fd5b506040518060400160405280600a8152602001694c617a7920427574747360b01b81525060405180604001604052806005815260200164425554545360d81b81525060158054806020026020016040519081016040528092919081815260200182805480156200024657602002820191905f5260205f20905b81546001600160a01b0316815260019091019060200180831162000227575b505050505060168054806020026020016040519081016040528092919081815260200182805480156200029757602002820191905f5260205f20905b81548152602001906001019080831162000282575b5050505050620002b6620002b06200044d60201b60201c565b62000451565b6001805f620002cc5f546001600160a01b031690565b6001600160a01b0316815260208101919091526040015f20805460ff19169115159190911790558051825114620003655760405162461bcd60e51b815260206004820152603260248201527f5061796d656e7453706c69747465723a2070617965657320616e6420736861726044820152710cae640d8cadccee8d040dad2e6dac2e8c6d60731b60648201526084015b60405180910390fd5b5f825111620003b75760405162461bcd60e51b815260206004820152601a60248201527f5061796d656e7453706c69747465723a206e6f2070617965657300000000000060448201526064016200035c565b5f5b825181101562000422576200040d838281518110620003dc57620003dc620008b3565b6020026020010151838381518110620003f957620003f9620008b3565b6020026020010151620004a060201b60201c565b806200041981620008db565b915050620003b9565b50600991506200043590508382620007eb565b50600a620004448282620007eb565b50505062000912565b3390565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0382166200050d5760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b60648201526084016200035c565b5f81116200055e5760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a2073686172657320617265203000000060448201526064016200035c565b6001600160a01b0382165f9081526004602052604090205415620005d95760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b60648201526084016200035c565b60068054600181019091557ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b0319166001600160a01b0384169081179091555f90815260046020526040902081905560025462000642908290620008f6565b600255604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b828054828255905f5260205f20908101928215620006e1579160200282015b82811115620006e157825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190620006aa565b50620006ef92915062000735565b5090565b828054828255905f5260205f20908101928215620006e1579160200282015b82811115620006e1578251829061ffff1690559160200191906001019062000712565b5b80821115620006ef575f815560010162000736565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200077457607f821691505b6020821081036200079357634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115620007e6575f81815260208120601f850160051c81016020861015620007c15750805b601f850160051c820191505b81811015620007e257828155600101620007cd565b5050505b505050565b81516001600160401b038111156200080757620008076200074b565b6200081f816200081884546200075f565b8462000799565b602080601f83116001811462000855575f84156200083d5750858301515b5f19600386901b1c1916600185901b178555620007e2565b5f85815260208120601f198616915b82811015620008855788860151825594840194600190910190840162000864565b5085821015620008a357878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b5f60018201620008ef57620008ef620008c7565b5060010190565b808201808211156200090c576200090c620008c7565b92915050565b6134cf80620009205f395ff3fe608060405260043610610278575f3560e01c80638b83209b1161014a578063b88d4fde116100be578063e985e9c511610078578063e985e9c5146107d2578063e9f3e0f914610819578063ee1cc9441461082c578063f2fde38b1461084b578063fa1431da1461086a578063fda43b7c14610898575f80fd5b8063b88d4fde146106f9578063c45ac05014610718578063c87b56dd14610737578063ce7c2ac214610756578063d79779b21461078a578063e33b7de3146107be575f80fd5b806399e0dd7c1161010f57806399e0dd7c14610655578063a035b1fe14610674578063a22cb46514610689578063a3f8eace146106a8578063a9852bfb146106c7578063b2ca6e91146106e6575f80fd5b80638b83209b146105b35780638d6cc56d146105d25780638da5cb5b146105f157806395d89b411461060d5780639852595c14610621575f80fd5b80633a73c58d116101ec5780635b92ac0d116101a65780635b92ac0d146105055780636352211e14610523578063677621691461054257806370a0823114610561578063715018a6146105805780637cb6475914610594575f80fd5b80633a73c58d146104315780633a98ef3914610450578063406072a91461046457806342842e0e146104a857806348b75044146104c75780634a994eef146104e6575f80fd5b8063096676231161023d578063096676231461039157806319165587146103a45780631f92b3dd146103c357806323b872dd146103d657806329fc6bae146103f55780632eb4a7ab1461040e575f80fd5b806301ffc9a7146102c557806306fdde03146102f9578063077796271461031a578063081812fc14610339578063095ea7b314610370575f80fd5b366102c1577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b5f80fd5b3480156102d0575f80fd5b506102e46102df366004612aa0565b6108b7565b60405190151581526020015b60405180910390f35b348015610304575f80fd5b5061030d610908565b6040516102f09190612b08565b348015610325575f80fd5b506102e4610334366004612b2e565b610998565b348015610344575f80fd5b50610358610353366004612b49565b6109bf565b6040516001600160a01b0390911681526020016102f0565b34801561037b575f80fd5b5061038f61038a366004612b60565b6109e4565b005b61038f61039f366004612bd1565b610afd565b3480156103af575f80fd5b5061038f6103be366004612b2e565b610c06565b61038f6103d1366004612bd1565b610ce8565b3480156103e1575f80fd5b5061038f6103f0366004612c0f565b610dc2565b348015610400575f80fd5b506013546102e49060ff1681565b348015610419575f80fd5b5061042360125481565b6040519081526020016102f0565b34801561043c575f80fd5b5061038f61044b366004612c5a565b610df3565b34801561045b575f80fd5b50600254610423565b34801561046f575f80fd5b5061042361047e366004612c75565b6001600160a01b039182165f90815260086020908152604080832093909416825291909152205490565b3480156104b3575f80fd5b5061038f6104c2366004612c0f565b610e86565b3480156104d2575f80fd5b5061038f6104e1366004612c75565b610ea0565b3480156104f1575f80fd5b5061038f610500366004612cac565b610fac565b348015610510575f80fd5b506013546102e490610100900460ff1681565b34801561052e575f80fd5b5061035861053d366004612b49565b610fde565b34801561054d575f80fd5b506102e461055c366004612d8d565b61103d565b34801561056c575f80fd5b5061042361057b366004612b2e565b61115f565b34801561058b575f80fd5b5061038f6111e3565b34801561059f575f80fd5b5061038f6105ae366004612b49565b6111f6565b3480156105be575f80fd5b506103586105cd366004612b49565b611229565b3480156105dd575f80fd5b5061038f6105ec366004612b49565b611257565b3480156105fc575f80fd5b505f546001600160a01b0316610358565b348015610618575f80fd5b5061030d6112cf565b34801561062c575f80fd5b5061042361063b366004612b2e565b6001600160a01b03165f9081526005602052604090205490565b348015610660575f80fd5b5061038f61066f366004612dd9565b6112de565b34801561067f575f80fd5b50610423600f5481565b348015610694575f80fd5b5061038f6106a3366004612cac565b6113ac565b3480156106b3575f80fd5b506104236106c2366004612b2e565b6113bb565b3480156106d2575f80fd5b5061038f6106e1366004612dd9565b611401565b61038f6106f4366004612e44565b6114cf565b348015610704575f80fd5b5061038f610713366004612ea7565b611739565b348015610723575f80fd5b50610423610732366004612c75565b611771565b348015610742575f80fd5b5061030d610751366004612b49565b611838565b348015610761575f80fd5b50610423610770366004612b2e565b6001600160a01b03165f9081526004602052604090205490565b348015610795575f80fd5b506104236107a4366004612b2e565b6001600160a01b03165f9081526007602052604090205490565b3480156107c9575f80fd5b50600354610423565b3480156107dd575f80fd5b506102e46107ec366004612c75565b6001600160a01b039182165f908152600e6020908152604080832093909416825291909152205460ff1690565b61038f610827366004612b49565b6118bb565b348015610837575f80fd5b5061038f610846366004612c5a565b611a70565b348015610856575f80fd5b5061038f610865366004612b2e565b611b0d565b348015610875575f80fd5b506102e4610884366004612b2e565b60146020525f908152604090205460ff1681565b3480156108a3575f80fd5b5061038f6108b2366004612b2e565b611b46565b5f6001600160e01b031982166380ac58cd60e01b14806108e757506001600160e01b03198216635b5e139f60e01b145b8061090257506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606009805461091790612f63565b80601f016020809104026020016040519081016040528092919081815260200182805461094390612f63565b801561098e5780601f106109655761010080835404028352916020019161098e565b820191905f5260205f20905b81548152906001019060200180831161097157829003601f168201915b5050505050905090565b5f6109a1611bfb565b506001600160a01b03165f9081526001602052604090205460ff1690565b5f6109c982611c54565b505f908152600d60205260409020546001600160a01b031690565b5f6109ee82610fde565b9050806001600160a01b0316836001600160a01b031603610a605760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b0382161480610a7c5750610a7c81336107ec565b610aee5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610a57565b610af88383611ca4565b505050565b335f9081526001602052604090205460ff16610b2b5760405162461bcd60e51b8152600401610a5790612f95565b80610b485760405162461bcd60e51b8152600401610a5790612fbf565b5f816001600160401b03811115610b6157610b61612cd8565b604051908082528060200260200182016040528015610b8a578160200160208202803683370190505b509050610bc88383808060200260200160405190810160405280939291908181526020018383602002808284375f92019190915250611d1192505050565b9050610af8818484808060200260200160405190810160405280939291908181526020018383602002808284375f92019190915250611ea992505050565b6001600160a01b0381165f90815260046020526040902054610c3a5760405162461bcd60e51b8152600401610a5790612fea565b5f610c44826113bb565b9050805f03610c655760405162461bcd60e51b8152600401610a5790613030565b8060035f828254610c76919061308f565b90915550506001600160a01b0382165f908152600560205260409020805482019055610ca28282611f69565b604080516001600160a01b0384168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a15050565b333214610d2d5760405162461bcd60e51b815260206004820152601360248201527213db9b1e481cd95b99195c88185b1b1bddd959606a1b6044820152606401610a57565b601354610100900460ff16610d795760405162461bcd60e51b81526020600482015260126024820152714d696e74206973206e6f742061637469766560701b6044820152606401610a57565b80610d965760405162461bcd60e51b8152600401610a5790612fbf565b600f54610da49082906130a2565b3414610b485760405162461bcd60e51b8152600401610a57906130b9565b610dcc338261207e565b610de85760405162461bcd60e51b8152600401610a57906130e8565b610af88383836120fa565b335f9081526001602052604090205460ff16610e215760405162461bcd60e51b8152600401610a5790612f95565b60135481151560ff909116151503610e735760405162461bcd60e51b8152602060048201526015602482015274105b1b1bdddb1a5cdd08185b1c9958591e481cd95d605a1b6044820152606401610a57565b6013805460ff1916911515919091179055565b610af883838360405180602001604052805f815250611739565b6001600160a01b0381165f90815260046020526040902054610ed45760405162461bcd60e51b8152600401610a5790612fea565b5f610edf8383611771565b9050805f03610f005760405162461bcd60e51b8152600401610a5790613030565b6001600160a01b0383165f9081526007602052604081208054839290610f2790849061308f565b90915550506001600160a01b038084165f908152600860209081526040808320938616835292905220805482019055610f6183838361225c565b604080516001600160a01b038481168252602082018490528516917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a2505050565b610fb4611bfb565b6001600160a01b03919091165f908152600160205260409020805460ff1916911515919091179055565b5f818152600b60205260408120546001600160a01b0316806109025760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610a57565b6040516bffffffffffffffffffffffff19606084901b1660208201525f9081906034016040516020818303038152906040528051906020012090505f5b83518110156111535783818151811061109557611095613135565b602002602001015182106110f3578381815181106110b5576110b5613135565b6020026020010151826040516020016110d8929190918252602082015260400190565b6040516020818303038152906040528051906020012061113f565b8184828151811061110657611106613135565b6020026020010151604051602001611128929190918252602082015260400190565b604051602081830303815290604052805190602001205b91508061114b81613149565b91505061107a565b50601254149392505050565b5f6001600160a01b0382166111c85760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610a57565b506001600160a01b03165f908152600c602052604090205490565b6111eb611bfb565b6111f45f6122ae565b565b335f9081526001602052604090205460ff166112245760405162461bcd60e51b8152600401610a5790612f95565b601255565b5f6006828154811061123d5761123d613135565b5f918252602090912001546001600160a01b031692915050565b335f9081526001602052604090205460ff166112855760405162461bcd60e51b8152600401610a5790612f95565b600f5481036112ca5760405162461bcd60e51b8152602060048201526011602482015270141c9a58d948185b1c9958591e481cd95d607a1b6044820152606401610a57565b600f55565b6060600a805461091790612f63565b335f9081526001602052604090205460ff1661130c5760405162461bcd60e51b8152600401610a5790612f95565b601060405160200161131e91906131d0565b6040516020818303038152906040528051906020012082826040516020016113479291906131db565b604051602081830303815290604052805190602001200361139f5760405162461bcd60e51b8152602060048201526012602482015271141c99599a5e08185b1c9958591e481cd95d60721b6044820152606401610a57565b6010610af882848361322f565b6113b73383836122fd565b5050565b5f806113c660035490565b6113d0904761308f565b90506113fa83826113f5866001600160a01b03165f9081526005602052604090205490565b6123ca565b9392505050565b335f9081526001602052604090205460ff1661142f5760405162461bcd60e51b8152600401610a5790612f95565b601160405160200161144191906131d0565b60405160208183030381529060405280519060200120828260405160200161146a9291906131db565b60405160208183030381529060405280519060200120036114c25760405162461bcd60e51b815260206004820152601260248201527114dd59999a5e08185b1c9958591e481cd95d60721b6044820152606401610a57565b6011610af882848361322f565b601354339060ff166115235760405162461bcd60e51b815260206004820152601860248201527f416c6c6f776c697374206973206e6f74206163746976652100000000000000006044820152606401610a57565b61152d818561103d565b6115795760405162461bcd60e51b815260206004820152601b60248201527f41646472657373206973206e6f7420616c6c6f776c69737465642100000000006044820152606401610a57565b816115965760405162461bcd60e51b8152600401610a5790612fbf565b6001600160a01b0381165f9081526014602052604081205460ff1661160257600183116115d1576002600f546115cc91906132ea565b611610565b6115dc600184613309565b600f546115e991906130a2565b6002600f546115f891906132ea565b6115cc919061308f565b600f546116109084906130a2565b90508034146116315760405162461bcd60e51b8152600401610a57906130b9565b6001600160a01b0382165f9081526014602052604090205460ff16611673576001600160a01b0382165f908152601460205260409020805460ff191660011790555b5f836001600160401b0381111561168c5761168c612cd8565b6040519080825280602002602001820160405280156116b5578160200160208202803683370190505b5090506116f38585808060200260200160405190810160405280939291908181526020018383602002808284375f92019190915250611d1192505050565b9050611731818686808060200260200160405190810160405280939291908181526020018383602002808284375f92019190915250611ea992505050565b505050505050565b611743338361207e565b61175f5760405162461bcd60e51b8152600401610a57906130e8565b61176b84848484612407565b50505050565b6001600160a01b0382165f9081526007602052604081205481906040516370a0823160e01b81523060048201526001600160a01b038616906370a0823190602401602060405180830381865afa1580156117cd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117f1919061331c565b6117fb919061308f565b6001600160a01b038086165f9081526008602090815260408083209388168352929052205490915061183090849083906123ca565b949350505050565b60606118438261243a565b6118865760405162461bcd60e51b8152602060048201526014602482015273151bdad95b88191bd95cc81b9bdd08195e1a5cdd60621b6044820152606401610a57565b601061189183612456565b60116040516020016118a593929190613333565b6040516020818303038152906040529050919050565b3332146119005760405162461bcd60e51b815260206004820152601360248201527213db9b1e481cd95b99195c88185b1b1bddd959606a1b6044820152606401610a57565b601354610100900460ff1661194c5760405162461bcd60e51b81526020600482015260126024820152714d696e74206973206e6f742061637469766560701b6044820152606401610a57565b6119558161243a565b156119995760405162461bcd60e51b8152602060048201526014602482015273151bdad95b88185b1c9958591e481b5a5b9d195960621b6044820152606401610a57565b600f5434146119ba5760405162461bcd60e51b8152600401610a57906130b9565b6013546040516331a9108f60e11b8152600481018390525f916201000090046001600160a01b031690636352211e90602401602060405180830381865afa158015611a07573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a2b919061335a565b9050611a3781836124e5565b60405182906001600160a01b038316907f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885905f90a35050565b335f9081526001602052604090205460ff16611a9e5760405162461bcd60e51b8152600401610a5790612f95565b801515601360019054906101000a900460ff16151503611af35760405162461bcd60e51b815260206004820152601060248201526f135a5b9d08185b1c9958591e481cd95d60821b6044820152606401610a57565b601380549115156101000261ff0019909216919091179055565b611b15611bfb565b6001600160a01b0381165f908152600160208190526040909120805460ff19169091179055611b4381612651565b50565b335f9081526001602052604090205460ff16611b745760405162461bcd60e51b8152600401610a5790612f95565b6013546001600160a01b0362010000909104811690821603611bd15760405162461bcd60e51b815260206004820152601660248201527513185e9e48131a5bdb9cc8185b1c9958591e481cd95d60521b6044820152606401610a57565b601380546001600160a01b03909216620100000262010000600160b01b0319909216919091179055565b5f546001600160a01b031633146111f45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a57565b611c5d8161243a565b611b435760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610a57565b5f818152600d6020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611cd882610fde565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b606081516001600160401b03811115611d2c57611d2c612cd8565b604051908082528060200260200182016040528015611d55578160200160208202803683370190505b5090505f5b8251811015611ea357611d85838281518110611d7857611d78613135565b602002602001015161243a565b15611dc95760405162461bcd60e51b8152602060048201526014602482015273151bdad95b88185b1c9958591e481b5a5b9d195960621b6044820152606401610a57565b5f601360029054906101000a90046001600160a01b03166001600160a01b0316636352211e858481518110611e0057611e00613135565b60200260200101516040518263ffffffff1660e01b8152600401611e2691815260200190565b602060405180830381865afa158015611e41573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e65919061335a565b905080838381518110611e7a57611e7a613135565b6001600160a01b039092166020928302919091019091015250611e9c81613149565b9050611d5a565b50919050565b5f5b8151811015610af857611ef0838281518110611ec957611ec9613135565b6020026020010151838381518110611ee357611ee3613135565b60200260200101516124e5565b818181518110611f0257611f02613135565b6020026020010151838281518110611f1c57611f1c613135565b60200260200101516001600160a01b03167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688560405160405180910390a3611f6281613149565b9050611eab565b80471015611fb95760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610a57565b5f826001600160a01b0316826040515f6040518083038185875af1925050503d805f8114612002576040519150601f19603f3d011682016040523d82523d5f602084013e612007565b606091505b5050905080610af85760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610a57565b5f8061208983610fde565b9050806001600160a01b0316846001600160a01b031614806120cf57506001600160a01b038082165f908152600e602090815260408083209388168352929052205460ff165b806118305750836001600160a01b03166120e8846109bf565b6001600160a01b031614949350505050565b826001600160a01b031661210d82610fde565b6001600160a01b0316146121335760405162461bcd60e51b8152600401610a5790613375565b6001600160a01b0382166121955760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610a57565b826001600160a01b03166121a882610fde565b6001600160a01b0316146121ce5760405162461bcd60e51b8152600401610a5790613375565b5f818152600d6020908152604080832080546001600160a01b03199081169091556001600160a01b03878116808652600c855283862080545f1901905590871680865283862080546001019055868652600b90945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610af89084906126c7565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b816001600160a01b0316836001600160a01b03160361235e5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a57565b6001600160a01b038381165f818152600e6020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6002546001600160a01b0384165f90815260046020526040812054909183916123f390866130a2565b6123fd91906132ea565b6118309190613309565b6124128484846120fa565b61241e8484848461279a565b61176b5760405162461bcd60e51b8152600401610a57906133ba565b5f908152600b60205260409020546001600160a01b0316151590565b60605f61246283612897565b60010190505f816001600160401b0381111561248057612480612cd8565b6040519080825280601f01601f1916602001820160405280156124aa576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846124b457509392505050565b6001600160a01b03821661253b5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a57565b6125448161243a565b156125915760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a57565b61259a8161243a565b156125e75760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a57565b6001600160a01b0382165f818152600c6020908152604080832080546001019055848352600b90915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b612659611bfb565b6001600160a01b0381166126be5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a57565b611b43816122ae565b5f61271b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661296e9092919063ffffffff16565b905080515f148061273b57508080602001905181019061273b919061340c565b610af85760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610a57565b5f6001600160a01b0384163b1561288c57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906127dd903390899088908890600401613427565b6020604051808303815f875af1925050508015612817575060408051601f3d908101601f1916820190925261281491810190613463565b60015b612872573d808015612844576040519150601f19603f3d011682016040523d82523d5f602084013e612849565b606091505b5080515f0361286a5760405162461bcd60e51b8152600401610a57906133ba565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611830565b506001949350505050565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106128d55772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612901576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061291f57662386f26fc10000830492506010015b6305f5e1008310612937576305f5e100830492506008015b612710831061294b57612710830492506004015b6064831061295d576064830492506002015b600a83106109025760010192915050565b606061183084845f85855f80866001600160a01b03168587604051612993919061347e565b5f6040518083038185875af1925050503d805f81146129cd576040519150601f19603f3d011682016040523d82523d5f602084013e6129d2565b606091505b50915091506129e3878383876129ee565b979650505050505050565b60608315612a5c5782515f03612a55576001600160a01b0385163b612a555760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610a57565b5081611830565b6118308383815115612a715781518083602001fd5b8060405162461bcd60e51b8152600401610a579190612b08565b6001600160e01b031981168114611b43575f80fd5b5f60208284031215612ab0575f80fd5b81356113fa81612a8b565b5f5b83811015612ad5578181015183820152602001612abd565b50505f910152565b5f8151808452612af4816020860160208601612abb565b601f01601f19169290920160200192915050565b602081525f6113fa6020830184612add565b6001600160a01b0381168114611b43575f80fd5b5f60208284031215612b3e575f80fd5b81356113fa81612b1a565b5f60208284031215612b59575f80fd5b5035919050565b5f8060408385031215612b71575f80fd5b8235612b7c81612b1a565b946020939093013593505050565b5f8083601f840112612b9a575f80fd5b5081356001600160401b03811115612bb0575f80fd5b6020830191508360208260051b8501011115612bca575f80fd5b9250929050565b5f8060208385031215612be2575f80fd5b82356001600160401b03811115612bf7575f80fd5b612c0385828601612b8a565b90969095509350505050565b5f805f60608486031215612c21575f80fd5b8335612c2c81612b1a565b92506020840135612c3c81612b1a565b929592945050506040919091013590565b8015158114611b43575f80fd5b5f60208284031215612c6a575f80fd5b81356113fa81612c4d565b5f8060408385031215612c86575f80fd5b8235612c9181612b1a565b91506020830135612ca181612b1a565b809150509250929050565b5f8060408385031215612cbd575f80fd5b8235612cc881612b1a565b91506020830135612ca181612c4d565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f191681016001600160401b0381118282101715612d1457612d14612cd8565b604052919050565b5f82601f830112612d2b575f80fd5b813560206001600160401b03821115612d4657612d46612cd8565b8160051b612d55828201612cec565b9283528481018201928281019087851115612d6e575f80fd5b83870192505b848310156129e357823582529183019190830190612d74565b5f8060408385031215612d9e575f80fd5b8235612da981612b1a565b915060208301356001600160401b03811115612dc3575f80fd5b612dcf85828601612d1c565b9150509250929050565b5f8060208385031215612dea575f80fd5b82356001600160401b0380821115612e00575f80fd5b818501915085601f830112612e13575f80fd5b813581811115612e21575f80fd5b866020828501011115612e32575f80fd5b60209290920196919550909350505050565b5f805f60408486031215612e56575f80fd5b83356001600160401b0380821115612e6c575f80fd5b612e7887838801612d1c565b94506020860135915080821115612e8d575f80fd5b50612e9a86828701612b8a565b9497909650939450505050565b5f805f8060808587031215612eba575f80fd5b8435612ec581612b1a565b9350602085810135612ed681612b1a565b93506040860135925060608601356001600160401b0380821115612ef8575f80fd5b818801915088601f830112612f0b575f80fd5b813581811115612f1d57612f1d612cd8565b612f2f601f8201601f19168501612cec565b91508082528984828501011115612f44575f80fd5b80848401858401375f8482840101525080935050505092959194509250565b600181811c90821680612f7757607f821691505b602082108103611ea357634e487b7160e01b5f52602260045260245ffd5b60208082526010908201526f496e76616c69642064656c656761746560801b604082015260600190565b602080825260119082015270139bc81d1bdad95b9cc81d1bc81b5a5b9d607a1b604082015260600190565b60208082526026908201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060408201526573686172657360d01b606082015260800190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060408201526a191d59481c185e5b595b9d60aa1b606082015260800190565b634e487b7160e01b5f52601160045260245ffd5b808201808211156109025761090261307b565b80820281158282048414176109025761090261307b565b602080825260159082015274139bdd08195b9bdd59da08195d1a195c881cd95b9d605a1b604082015260600190565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b634e487b7160e01b5f52603260045260245ffd5b5f6001820161315a5761315a61307b565b5060010190565b5f815461316d81612f63565b60018281168015613185576001811461319a576131c6565b60ff19841687528215158302870194506131c6565b855f526020805f205f5b858110156131bd5781548a8201529084019082016131a4565b50505082870194505b5050505092915050565b5f6113fa8284613161565b818382375f9101908152919050565b601f821115610af8575f81815260208120601f850160051c810160208610156132105750805b601f850160051c820191505b818110156117315782815560010161321c565b6001600160401b0383111561324657613246612cd8565b61325a836132548354612f63565b836131ea565b5f601f84116001811461328b575f85156132745750838201355b5f19600387901b1c1916600186901b1783556132e3565b5f83815260209020601f19861690835b828110156132bb578685013582556020948501946001909201910161329b565b50868210156132d7575f1960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b5f8261330457634e487b7160e01b5f52601260045260245ffd5b500490565b818103818111156109025761090261307b565b5f6020828403121561332c575f80fd5b5051919050565b5f61333e8286613161565b845161334e818360208901612abb565b6129e381830186613161565b5f6020828403121561336a575f80fd5b81516113fa81612b1a565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b5f6020828403121561341c575f80fd5b81516113fa81612c4d565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f9061345990830184612add565b9695505050505050565b5f60208284031215613473575f80fd5b81516113fa81612a8b565b5f825161348f818460208701612abb565b919091019291505056fea2646970667358221220b4bd0cff698725fb259dd9c7a7002a8c312a2fa786779700e3183e93b9883ee764736f6c6343000815003368747470733a2f2f6170692e74686533646b696e67732e696f2f6170692f6d657461646174612f

Deployed Bytecode

0x608060405260043610610278575f3560e01c80638b83209b1161014a578063b88d4fde116100be578063e985e9c511610078578063e985e9c5146107d2578063e9f3e0f914610819578063ee1cc9441461082c578063f2fde38b1461084b578063fa1431da1461086a578063fda43b7c14610898575f80fd5b8063b88d4fde146106f9578063c45ac05014610718578063c87b56dd14610737578063ce7c2ac214610756578063d79779b21461078a578063e33b7de3146107be575f80fd5b806399e0dd7c1161010f57806399e0dd7c14610655578063a035b1fe14610674578063a22cb46514610689578063a3f8eace146106a8578063a9852bfb146106c7578063b2ca6e91146106e6575f80fd5b80638b83209b146105b35780638d6cc56d146105d25780638da5cb5b146105f157806395d89b411461060d5780639852595c14610621575f80fd5b80633a73c58d116101ec5780635b92ac0d116101a65780635b92ac0d146105055780636352211e14610523578063677621691461054257806370a0823114610561578063715018a6146105805780637cb6475914610594575f80fd5b80633a73c58d146104315780633a98ef3914610450578063406072a91461046457806342842e0e146104a857806348b75044146104c75780634a994eef146104e6575f80fd5b8063096676231161023d578063096676231461039157806319165587146103a45780631f92b3dd146103c357806323b872dd146103d657806329fc6bae146103f55780632eb4a7ab1461040e575f80fd5b806301ffc9a7146102c557806306fdde03146102f9578063077796271461031a578063081812fc14610339578063095ea7b314610370575f80fd5b366102c1577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b5f80fd5b3480156102d0575f80fd5b506102e46102df366004612aa0565b6108b7565b60405190151581526020015b60405180910390f35b348015610304575f80fd5b5061030d610908565b6040516102f09190612b08565b348015610325575f80fd5b506102e4610334366004612b2e565b610998565b348015610344575f80fd5b50610358610353366004612b49565b6109bf565b6040516001600160a01b0390911681526020016102f0565b34801561037b575f80fd5b5061038f61038a366004612b60565b6109e4565b005b61038f61039f366004612bd1565b610afd565b3480156103af575f80fd5b5061038f6103be366004612b2e565b610c06565b61038f6103d1366004612bd1565b610ce8565b3480156103e1575f80fd5b5061038f6103f0366004612c0f565b610dc2565b348015610400575f80fd5b506013546102e49060ff1681565b348015610419575f80fd5b5061042360125481565b6040519081526020016102f0565b34801561043c575f80fd5b5061038f61044b366004612c5a565b610df3565b34801561045b575f80fd5b50600254610423565b34801561046f575f80fd5b5061042361047e366004612c75565b6001600160a01b039182165f90815260086020908152604080832093909416825291909152205490565b3480156104b3575f80fd5b5061038f6104c2366004612c0f565b610e86565b3480156104d2575f80fd5b5061038f6104e1366004612c75565b610ea0565b3480156104f1575f80fd5b5061038f610500366004612cac565b610fac565b348015610510575f80fd5b506013546102e490610100900460ff1681565b34801561052e575f80fd5b5061035861053d366004612b49565b610fde565b34801561054d575f80fd5b506102e461055c366004612d8d565b61103d565b34801561056c575f80fd5b5061042361057b366004612b2e565b61115f565b34801561058b575f80fd5b5061038f6111e3565b34801561059f575f80fd5b5061038f6105ae366004612b49565b6111f6565b3480156105be575f80fd5b506103586105cd366004612b49565b611229565b3480156105dd575f80fd5b5061038f6105ec366004612b49565b611257565b3480156105fc575f80fd5b505f546001600160a01b0316610358565b348015610618575f80fd5b5061030d6112cf565b34801561062c575f80fd5b5061042361063b366004612b2e565b6001600160a01b03165f9081526005602052604090205490565b348015610660575f80fd5b5061038f61066f366004612dd9565b6112de565b34801561067f575f80fd5b50610423600f5481565b348015610694575f80fd5b5061038f6106a3366004612cac565b6113ac565b3480156106b3575f80fd5b506104236106c2366004612b2e565b6113bb565b3480156106d2575f80fd5b5061038f6106e1366004612dd9565b611401565b61038f6106f4366004612e44565b6114cf565b348015610704575f80fd5b5061038f610713366004612ea7565b611739565b348015610723575f80fd5b50610423610732366004612c75565b611771565b348015610742575f80fd5b5061030d610751366004612b49565b611838565b348015610761575f80fd5b50610423610770366004612b2e565b6001600160a01b03165f9081526004602052604090205490565b348015610795575f80fd5b506104236107a4366004612b2e565b6001600160a01b03165f9081526007602052604090205490565b3480156107c9575f80fd5b50600354610423565b3480156107dd575f80fd5b506102e46107ec366004612c75565b6001600160a01b039182165f908152600e6020908152604080832093909416825291909152205460ff1690565b61038f610827366004612b49565b6118bb565b348015610837575f80fd5b5061038f610846366004612c5a565b611a70565b348015610856575f80fd5b5061038f610865366004612b2e565b611b0d565b348015610875575f80fd5b506102e4610884366004612b2e565b60146020525f908152604090205460ff1681565b3480156108a3575f80fd5b5061038f6108b2366004612b2e565b611b46565b5f6001600160e01b031982166380ac58cd60e01b14806108e757506001600160e01b03198216635b5e139f60e01b145b8061090257506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606009805461091790612f63565b80601f016020809104026020016040519081016040528092919081815260200182805461094390612f63565b801561098e5780601f106109655761010080835404028352916020019161098e565b820191905f5260205f20905b81548152906001019060200180831161097157829003601f168201915b5050505050905090565b5f6109a1611bfb565b506001600160a01b03165f9081526001602052604090205460ff1690565b5f6109c982611c54565b505f908152600d60205260409020546001600160a01b031690565b5f6109ee82610fde565b9050806001600160a01b0316836001600160a01b031603610a605760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b0382161480610a7c5750610a7c81336107ec565b610aee5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610a57565b610af88383611ca4565b505050565b335f9081526001602052604090205460ff16610b2b5760405162461bcd60e51b8152600401610a5790612f95565b80610b485760405162461bcd60e51b8152600401610a5790612fbf565b5f816001600160401b03811115610b6157610b61612cd8565b604051908082528060200260200182016040528015610b8a578160200160208202803683370190505b509050610bc88383808060200260200160405190810160405280939291908181526020018383602002808284375f92019190915250611d1192505050565b9050610af8818484808060200260200160405190810160405280939291908181526020018383602002808284375f92019190915250611ea992505050565b6001600160a01b0381165f90815260046020526040902054610c3a5760405162461bcd60e51b8152600401610a5790612fea565b5f610c44826113bb565b9050805f03610c655760405162461bcd60e51b8152600401610a5790613030565b8060035f828254610c76919061308f565b90915550506001600160a01b0382165f908152600560205260409020805482019055610ca28282611f69565b604080516001600160a01b0384168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a15050565b333214610d2d5760405162461bcd60e51b815260206004820152601360248201527213db9b1e481cd95b99195c88185b1b1bddd959606a1b6044820152606401610a57565b601354610100900460ff16610d795760405162461bcd60e51b81526020600482015260126024820152714d696e74206973206e6f742061637469766560701b6044820152606401610a57565b80610d965760405162461bcd60e51b8152600401610a5790612fbf565b600f54610da49082906130a2565b3414610b485760405162461bcd60e51b8152600401610a57906130b9565b610dcc338261207e565b610de85760405162461bcd60e51b8152600401610a57906130e8565b610af88383836120fa565b335f9081526001602052604090205460ff16610e215760405162461bcd60e51b8152600401610a5790612f95565b60135481151560ff909116151503610e735760405162461bcd60e51b8152602060048201526015602482015274105b1b1bdddb1a5cdd08185b1c9958591e481cd95d605a1b6044820152606401610a57565b6013805460ff1916911515919091179055565b610af883838360405180602001604052805f815250611739565b6001600160a01b0381165f90815260046020526040902054610ed45760405162461bcd60e51b8152600401610a5790612fea565b5f610edf8383611771565b9050805f03610f005760405162461bcd60e51b8152600401610a5790613030565b6001600160a01b0383165f9081526007602052604081208054839290610f2790849061308f565b90915550506001600160a01b038084165f908152600860209081526040808320938616835292905220805482019055610f6183838361225c565b604080516001600160a01b038481168252602082018490528516917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a2505050565b610fb4611bfb565b6001600160a01b03919091165f908152600160205260409020805460ff1916911515919091179055565b5f818152600b60205260408120546001600160a01b0316806109025760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610a57565b6040516bffffffffffffffffffffffff19606084901b1660208201525f9081906034016040516020818303038152906040528051906020012090505f5b83518110156111535783818151811061109557611095613135565b602002602001015182106110f3578381815181106110b5576110b5613135565b6020026020010151826040516020016110d8929190918252602082015260400190565b6040516020818303038152906040528051906020012061113f565b8184828151811061110657611106613135565b6020026020010151604051602001611128929190918252602082015260400190565b604051602081830303815290604052805190602001205b91508061114b81613149565b91505061107a565b50601254149392505050565b5f6001600160a01b0382166111c85760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610a57565b506001600160a01b03165f908152600c602052604090205490565b6111eb611bfb565b6111f45f6122ae565b565b335f9081526001602052604090205460ff166112245760405162461bcd60e51b8152600401610a5790612f95565b601255565b5f6006828154811061123d5761123d613135565b5f918252602090912001546001600160a01b031692915050565b335f9081526001602052604090205460ff166112855760405162461bcd60e51b8152600401610a5790612f95565b600f5481036112ca5760405162461bcd60e51b8152602060048201526011602482015270141c9a58d948185b1c9958591e481cd95d607a1b6044820152606401610a57565b600f55565b6060600a805461091790612f63565b335f9081526001602052604090205460ff1661130c5760405162461bcd60e51b8152600401610a5790612f95565b601060405160200161131e91906131d0565b6040516020818303038152906040528051906020012082826040516020016113479291906131db565b604051602081830303815290604052805190602001200361139f5760405162461bcd60e51b8152602060048201526012602482015271141c99599a5e08185b1c9958591e481cd95d60721b6044820152606401610a57565b6010610af882848361322f565b6113b73383836122fd565b5050565b5f806113c660035490565b6113d0904761308f565b90506113fa83826113f5866001600160a01b03165f9081526005602052604090205490565b6123ca565b9392505050565b335f9081526001602052604090205460ff1661142f5760405162461bcd60e51b8152600401610a5790612f95565b601160405160200161144191906131d0565b60405160208183030381529060405280519060200120828260405160200161146a9291906131db565b60405160208183030381529060405280519060200120036114c25760405162461bcd60e51b815260206004820152601260248201527114dd59999a5e08185b1c9958591e481cd95d60721b6044820152606401610a57565b6011610af882848361322f565b601354339060ff166115235760405162461bcd60e51b815260206004820152601860248201527f416c6c6f776c697374206973206e6f74206163746976652100000000000000006044820152606401610a57565b61152d818561103d565b6115795760405162461bcd60e51b815260206004820152601b60248201527f41646472657373206973206e6f7420616c6c6f776c69737465642100000000006044820152606401610a57565b816115965760405162461bcd60e51b8152600401610a5790612fbf565b6001600160a01b0381165f9081526014602052604081205460ff1661160257600183116115d1576002600f546115cc91906132ea565b611610565b6115dc600184613309565b600f546115e991906130a2565b6002600f546115f891906132ea565b6115cc919061308f565b600f546116109084906130a2565b90508034146116315760405162461bcd60e51b8152600401610a57906130b9565b6001600160a01b0382165f9081526014602052604090205460ff16611673576001600160a01b0382165f908152601460205260409020805460ff191660011790555b5f836001600160401b0381111561168c5761168c612cd8565b6040519080825280602002602001820160405280156116b5578160200160208202803683370190505b5090506116f38585808060200260200160405190810160405280939291908181526020018383602002808284375f92019190915250611d1192505050565b9050611731818686808060200260200160405190810160405280939291908181526020018383602002808284375f92019190915250611ea992505050565b505050505050565b611743338361207e565b61175f5760405162461bcd60e51b8152600401610a57906130e8565b61176b84848484612407565b50505050565b6001600160a01b0382165f9081526007602052604081205481906040516370a0823160e01b81523060048201526001600160a01b038616906370a0823190602401602060405180830381865afa1580156117cd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117f1919061331c565b6117fb919061308f565b6001600160a01b038086165f9081526008602090815260408083209388168352929052205490915061183090849083906123ca565b949350505050565b60606118438261243a565b6118865760405162461bcd60e51b8152602060048201526014602482015273151bdad95b88191bd95cc81b9bdd08195e1a5cdd60621b6044820152606401610a57565b601061189183612456565b60116040516020016118a593929190613333565b6040516020818303038152906040529050919050565b3332146119005760405162461bcd60e51b815260206004820152601360248201527213db9b1e481cd95b99195c88185b1b1bddd959606a1b6044820152606401610a57565b601354610100900460ff1661194c5760405162461bcd60e51b81526020600482015260126024820152714d696e74206973206e6f742061637469766560701b6044820152606401610a57565b6119558161243a565b156119995760405162461bcd60e51b8152602060048201526014602482015273151bdad95b88185b1c9958591e481b5a5b9d195960621b6044820152606401610a57565b600f5434146119ba5760405162461bcd60e51b8152600401610a57906130b9565b6013546040516331a9108f60e11b8152600481018390525f916201000090046001600160a01b031690636352211e90602401602060405180830381865afa158015611a07573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a2b919061335a565b9050611a3781836124e5565b60405182906001600160a01b038316907f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885905f90a35050565b335f9081526001602052604090205460ff16611a9e5760405162461bcd60e51b8152600401610a5790612f95565b801515601360019054906101000a900460ff16151503611af35760405162461bcd60e51b815260206004820152601060248201526f135a5b9d08185b1c9958591e481cd95d60821b6044820152606401610a57565b601380549115156101000261ff0019909216919091179055565b611b15611bfb565b6001600160a01b0381165f908152600160208190526040909120805460ff19169091179055611b4381612651565b50565b335f9081526001602052604090205460ff16611b745760405162461bcd60e51b8152600401610a5790612f95565b6013546001600160a01b0362010000909104811690821603611bd15760405162461bcd60e51b815260206004820152601660248201527513185e9e48131a5bdb9cc8185b1c9958591e481cd95d60521b6044820152606401610a57565b601380546001600160a01b03909216620100000262010000600160b01b0319909216919091179055565b5f546001600160a01b031633146111f45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a57565b611c5d8161243a565b611b435760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610a57565b5f818152600d6020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611cd882610fde565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b606081516001600160401b03811115611d2c57611d2c612cd8565b604051908082528060200260200182016040528015611d55578160200160208202803683370190505b5090505f5b8251811015611ea357611d85838281518110611d7857611d78613135565b602002602001015161243a565b15611dc95760405162461bcd60e51b8152602060048201526014602482015273151bdad95b88185b1c9958591e481b5a5b9d195960621b6044820152606401610a57565b5f601360029054906101000a90046001600160a01b03166001600160a01b0316636352211e858481518110611e0057611e00613135565b60200260200101516040518263ffffffff1660e01b8152600401611e2691815260200190565b602060405180830381865afa158015611e41573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e65919061335a565b905080838381518110611e7a57611e7a613135565b6001600160a01b039092166020928302919091019091015250611e9c81613149565b9050611d5a565b50919050565b5f5b8151811015610af857611ef0838281518110611ec957611ec9613135565b6020026020010151838381518110611ee357611ee3613135565b60200260200101516124e5565b818181518110611f0257611f02613135565b6020026020010151838281518110611f1c57611f1c613135565b60200260200101516001600160a01b03167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688560405160405180910390a3611f6281613149565b9050611eab565b80471015611fb95760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610a57565b5f826001600160a01b0316826040515f6040518083038185875af1925050503d805f8114612002576040519150601f19603f3d011682016040523d82523d5f602084013e612007565b606091505b5050905080610af85760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610a57565b5f8061208983610fde565b9050806001600160a01b0316846001600160a01b031614806120cf57506001600160a01b038082165f908152600e602090815260408083209388168352929052205460ff165b806118305750836001600160a01b03166120e8846109bf565b6001600160a01b031614949350505050565b826001600160a01b031661210d82610fde565b6001600160a01b0316146121335760405162461bcd60e51b8152600401610a5790613375565b6001600160a01b0382166121955760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610a57565b826001600160a01b03166121a882610fde565b6001600160a01b0316146121ce5760405162461bcd60e51b8152600401610a5790613375565b5f818152600d6020908152604080832080546001600160a01b03199081169091556001600160a01b03878116808652600c855283862080545f1901905590871680865283862080546001019055868652600b90945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610af89084906126c7565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b816001600160a01b0316836001600160a01b03160361235e5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a57565b6001600160a01b038381165f818152600e6020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6002546001600160a01b0384165f90815260046020526040812054909183916123f390866130a2565b6123fd91906132ea565b6118309190613309565b6124128484846120fa565b61241e8484848461279a565b61176b5760405162461bcd60e51b8152600401610a57906133ba565b5f908152600b60205260409020546001600160a01b0316151590565b60605f61246283612897565b60010190505f816001600160401b0381111561248057612480612cd8565b6040519080825280601f01601f1916602001820160405280156124aa576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846124b457509392505050565b6001600160a01b03821661253b5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a57565b6125448161243a565b156125915760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a57565b61259a8161243a565b156125e75760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a57565b6001600160a01b0382165f818152600c6020908152604080832080546001019055848352600b90915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b612659611bfb565b6001600160a01b0381166126be5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a57565b611b43816122ae565b5f61271b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661296e9092919063ffffffff16565b905080515f148061273b57508080602001905181019061273b919061340c565b610af85760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610a57565b5f6001600160a01b0384163b1561288c57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906127dd903390899088908890600401613427565b6020604051808303815f875af1925050508015612817575060408051601f3d908101601f1916820190925261281491810190613463565b60015b612872573d808015612844576040519150601f19603f3d011682016040523d82523d5f602084013e612849565b606091505b5080515f0361286a5760405162461bcd60e51b8152600401610a57906133ba565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611830565b506001949350505050565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106128d55772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612901576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061291f57662386f26fc10000830492506010015b6305f5e1008310612937576305f5e100830492506008015b612710831061294b57612710830492506004015b6064831061295d576064830492506002015b600a83106109025760010192915050565b606061183084845f85855f80866001600160a01b03168587604051612993919061347e565b5f6040518083038185875af1925050503d805f81146129cd576040519150601f19603f3d011682016040523d82523d5f602084013e6129d2565b606091505b50915091506129e3878383876129ee565b979650505050505050565b60608315612a5c5782515f03612a55576001600160a01b0385163b612a555760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610a57565b5081611830565b6118308383815115612a715781518083602001fd5b8060405162461bcd60e51b8152600401610a579190612b08565b6001600160e01b031981168114611b43575f80fd5b5f60208284031215612ab0575f80fd5b81356113fa81612a8b565b5f5b83811015612ad5578181015183820152602001612abd565b50505f910152565b5f8151808452612af4816020860160208601612abb565b601f01601f19169290920160200192915050565b602081525f6113fa6020830184612add565b6001600160a01b0381168114611b43575f80fd5b5f60208284031215612b3e575f80fd5b81356113fa81612b1a565b5f60208284031215612b59575f80fd5b5035919050565b5f8060408385031215612b71575f80fd5b8235612b7c81612b1a565b946020939093013593505050565b5f8083601f840112612b9a575f80fd5b5081356001600160401b03811115612bb0575f80fd5b6020830191508360208260051b8501011115612bca575f80fd5b9250929050565b5f8060208385031215612be2575f80fd5b82356001600160401b03811115612bf7575f80fd5b612c0385828601612b8a565b90969095509350505050565b5f805f60608486031215612c21575f80fd5b8335612c2c81612b1a565b92506020840135612c3c81612b1a565b929592945050506040919091013590565b8015158114611b43575f80fd5b5f60208284031215612c6a575f80fd5b81356113fa81612c4d565b5f8060408385031215612c86575f80fd5b8235612c9181612b1a565b91506020830135612ca181612b1a565b809150509250929050565b5f8060408385031215612cbd575f80fd5b8235612cc881612b1a565b91506020830135612ca181612c4d565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f191681016001600160401b0381118282101715612d1457612d14612cd8565b604052919050565b5f82601f830112612d2b575f80fd5b813560206001600160401b03821115612d4657612d46612cd8565b8160051b612d55828201612cec565b9283528481018201928281019087851115612d6e575f80fd5b83870192505b848310156129e357823582529183019190830190612d74565b5f8060408385031215612d9e575f80fd5b8235612da981612b1a565b915060208301356001600160401b03811115612dc3575f80fd5b612dcf85828601612d1c565b9150509250929050565b5f8060208385031215612dea575f80fd5b82356001600160401b0380821115612e00575f80fd5b818501915085601f830112612e13575f80fd5b813581811115612e21575f80fd5b866020828501011115612e32575f80fd5b60209290920196919550909350505050565b5f805f60408486031215612e56575f80fd5b83356001600160401b0380821115612e6c575f80fd5b612e7887838801612d1c565b94506020860135915080821115612e8d575f80fd5b50612e9a86828701612b8a565b9497909650939450505050565b5f805f8060808587031215612eba575f80fd5b8435612ec581612b1a565b9350602085810135612ed681612b1a565b93506040860135925060608601356001600160401b0380821115612ef8575f80fd5b818801915088601f830112612f0b575f80fd5b813581811115612f1d57612f1d612cd8565b612f2f601f8201601f19168501612cec565b91508082528984828501011115612f44575f80fd5b80848401858401375f8482840101525080935050505092959194509250565b600181811c90821680612f7757607f821691505b602082108103611ea357634e487b7160e01b5f52602260045260245ffd5b60208082526010908201526f496e76616c69642064656c656761746560801b604082015260600190565b602080825260119082015270139bc81d1bdad95b9cc81d1bc81b5a5b9d607a1b604082015260600190565b60208082526026908201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060408201526573686172657360d01b606082015260800190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060408201526a191d59481c185e5b595b9d60aa1b606082015260800190565b634e487b7160e01b5f52601160045260245ffd5b808201808211156109025761090261307b565b80820281158282048414176109025761090261307b565b602080825260159082015274139bdd08195b9bdd59da08195d1a195c881cd95b9d605a1b604082015260600190565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b634e487b7160e01b5f52603260045260245ffd5b5f6001820161315a5761315a61307b565b5060010190565b5f815461316d81612f63565b60018281168015613185576001811461319a576131c6565b60ff19841687528215158302870194506131c6565b855f526020805f205f5b858110156131bd5781548a8201529084019082016131a4565b50505082870194505b5050505092915050565b5f6113fa8284613161565b818382375f9101908152919050565b601f821115610af8575f81815260208120601f850160051c810160208610156132105750805b601f850160051c820191505b818110156117315782815560010161321c565b6001600160401b0383111561324657613246612cd8565b61325a836132548354612f63565b836131ea565b5f601f84116001811461328b575f85156132745750838201355b5f19600387901b1c1916600186901b1783556132e3565b5f83815260209020601f19861690835b828110156132bb578685013582556020948501946001909201910161329b565b50868210156132d7575f1960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b5f8261330457634e487b7160e01b5f52601260045260245ffd5b500490565b818103818111156109025761090261307b565b5f6020828403121561332c575f80fd5b5051919050565b5f61333e8286613161565b845161334e818360208901612abb565b6129e381830186613161565b5f6020828403121561336a575f80fd5b81516113fa81612b1a565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b5f6020828403121561341c575f80fd5b81516113fa81612c4d565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f9061345990830184612add565b9695505050505050565b5f60208284031215613473575f80fd5b81516113fa81612a8b565b5f825161348f818460208701612abb565b919091019291505056fea2646970667358221220b4bd0cff698725fb259dd9c7a7002a8c312a2fa786779700e3183e93b9883ee764736f6c63430008150033

Deployed Bytecode Sourcemap

78458:8459:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52225:40;48726:10;52225:40;;;-1:-1:-1;;;;;206:32:1;;;188:51;;52255:9:0;270:2:1;255:18;;248:34;161:18;52225:40:0;;;;;;;78458:8459;;;;;58982:305;;;;;;;;;;-1:-1:-1;58982:305:0;;;;;:::i;:::-;;:::i;:::-;;;844:14:1;;837:22;819:41;;807:2;792:18;58982:305:0;;;;;;;;59910:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;77853:112::-;;;;;;;;;;-1:-1:-1;77853:112:0;;;;;:::i;:::-;;:::i;61422:171::-;;;;;;;;;;-1:-1:-1;61422:171:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2364:32:1;;;2346:51;;2334:2;2319:18;61422:171:0;2200:203:1;60940:416:0;;;;;;;;;;-1:-1:-1;60940:416:0;;;;;:::i;:::-;;:::i;:::-;;81749:290;;;;;;:::i;:::-;;:::i;54746:671::-;;;;;;;;;;-1:-1:-1;54746:671:0;;;;;:::i;:::-;;:::i;81217:380::-;;;;;;:::i;:::-;;:::i;62122:301::-;;;;;;;;;;-1:-1:-1;62122:301:0;;;;;:::i;:::-;;:::i;78846:37::-;;;;;;;;;;-1:-1:-1;78846:37:0;;;;;;;;78745:94;;;;;;;;;;;;;;;;;;;4409:25:1;;;4397:2;4382:18;78745:94:0;4263:177:1;86408:217:0;;;;;;;;;;-1:-1:-1;86408:217:0;;;;;:::i;:::-;;:::i;52356:91::-;;;;;;;;;;-1:-1:-1;52427:12:0;;52356:91;;53485:135;;;;;;;;;;-1:-1:-1;53485:135:0;;;;;:::i;:::-;-1:-1:-1;;;;;53582:21:0;;;53555:7;53582:21;;;:14;:21;;;;;;;;:30;;;;;;;;;;;;;53485:135;62494:151;;;;;;;;;;-1:-1:-1;62494:151:0;;;;;:::i;:::-;;:::i;55685:792::-;;;;;;;;;;-1:-1:-1;55685:792:0;;;;;:::i;:::-;;:::i;77971:116::-;;;;;;;;;;-1:-1:-1;77971:116:0;;;;;:::i;:::-;;:::i;78890:32::-;;;;;;;;;;-1:-1:-1;78890:32:0;;;;;;;;;;;59620:223;;;;;;;;;;-1:-1:-1;59620:223:0;;;;;:::i;:::-;;:::i;84660:403::-;;;;;;;;;;-1:-1:-1;84660:403:0;;;;;:::i;:::-;;:::i;59351:207::-;;;;;;;;;;-1:-1:-1;59351:207:0;;;;;:::i;:::-;;:::i;76711:103::-;;;;;;;;;;;;;:::i;86188:110::-;;;;;;;;;;-1:-1:-1;86188:110:0;;;;;:::i;:::-;;:::i;53711:100::-;;;;;;;;;;-1:-1:-1;53711:100:0;;;;;:::i;:::-;;:::i;84248:155::-;;;;;;;;;;-1:-1:-1;84248:155:0;;;;;:::i;:::-;;:::i;76070:87::-;;;;;;;;;;-1:-1:-1;76116:7:0;76143:6;-1:-1:-1;;;;;76143:6:0;76070:87;;60079:104;;;;;;;;;;;;;:::i;53207:109::-;;;;;;;;;;-1:-1:-1;53207:109:0;;;;;:::i;:::-;-1:-1:-1;;;;;53290:18:0;53263:7;53290:18;;;:9;:18;;;;;;;53207:109;83116:296;;;;;;;;;;-1:-1:-1;83116:296:0;;;;;:::i;:::-;;:::i;78569:33::-;;;;;;;;;;;;;;;;61665:155;;;;;;;;;;-1:-1:-1;61665:155:0;;;;;:::i;:::-;;:::i;53901:225::-;;;;;;;;;;-1:-1:-1;53901:225:0;;;;;:::i;:::-;;:::i;83533:296::-;;;;;;;;;;-1:-1:-1;83533:296:0;;;;;:::i;:::-;;:::i;85284:788::-;;;;;;:::i;:::-;;:::i;62716:279::-;;;;;;;;;;-1:-1:-1;62716:279:0;;;;;:::i;:::-;;:::i;54286:260::-;;;;;;;;;;-1:-1:-1;54286:260:0;;;;;:::i;:::-;;:::i;79971:384::-;;;;;;;;;;-1:-1:-1;79971:384:0;;;;;:::i;:::-;;:::i;53003:105::-;;;;;;;;;;-1:-1:-1;53003:105:0;;;;;:::i;:::-;-1:-1:-1;;;;;53084:16:0;53057:7;53084:16;;;:7;:16;;;;;;;53003:105;52793:119;;;;;;;;;;-1:-1:-1;52793:119:0;;;;;:::i;:::-;-1:-1:-1;;;;;52878:26:0;52851:7;52878:26;;;:19;:26;;;;;;;52793:119;52541:95;;;;;;;;;;-1:-1:-1;52614:14:0;;52541:95;;61891:164;;;;;;;;;;-1:-1:-1;61891:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;62012:25:0;;;61988:4;62012:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;61891:164;80790:316;;;;;;:::i;:::-;;:::i;86730:182::-;;;;;;;;;;-1:-1:-1;86730:182:0;;;;;:::i;:::-;;:::i;78093:161::-;;;;;;;;;;-1:-1:-1;78093:161:0;;;;;:::i;:::-;;:::i;79093:48::-;;;;;;;;;;-1:-1:-1;79093:48:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;83951:190;;;;;;;;;;-1:-1:-1;83951:190:0;;;;;:::i;:::-;;:::i;58982:305::-;59084:4;-1:-1:-1;;;;;;59121:40:0;;-1:-1:-1;;;59121:40:0;;:105;;-1:-1:-1;;;;;;;59178:48:0;;-1:-1:-1;;;59178:48:0;59121:105;:158;;;-1:-1:-1;;;;;;;;;;42107:40:0;;;59243:36;59101:178;58982:305;-1:-1:-1;;58982:305:0:o;59910:100::-;59964:13;59997:5;59990:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59910:100;:::o;77853:112::-;77923:4;75956:13;:11;:13::i;:::-;-1:-1:-1;;;;;;77943:16:0::1;;::::0;;;:10:::1;:16;::::0;;;;;::::1;;::::0;77853:112::o;61422:171::-;61498:7;61518:23;61533:7;61518:14;:23::i;:::-;-1:-1:-1;61561:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;61561:24:0;;61422:171::o;60940:416::-;61021:13;61037:23;61052:7;61037:14;:23::i;:::-;61021:39;;61085:5;-1:-1:-1;;;;;61079:11:0;:2;-1:-1:-1;;;;;61079:11:0;;61071:57;;;;-1:-1:-1;;;61071:57:0;;11237:2:1;61071:57:0;;;11219:21:1;11276:2;11256:18;;;11249:30;11315:34;11295:18;;;11288:62;-1:-1:-1;;;11366:18:1;;;11359:31;11407:19;;61071:57:0;;;;;;;;;48726:10;-1:-1:-1;;;;;61163:21:0;;;;:62;;-1:-1:-1;61188:37:0;61205:5;48726:10;61891:164;:::i;61188:37::-;61141:173;;;;-1:-1:-1;;;61141:173:0;;11639:2:1;61141:173:0;;;11621:21:1;11678:2;11658:18;;;11651:30;11717:34;11697:18;;;11690:62;11788:31;11768:18;;;11761:59;11837:19;;61141:173:0;11437:425:1;61141:173:0;61327:21;61336:2;61340:7;61327:8;:21::i;:::-;61010:346;60940:416;;:::o;81749:290::-;77785:10;77774:22;;;;:10;:22;;;;;;;;77766:52;;;;-1:-1:-1;;;77766:52:0;;;;;;;:::i;:::-;81841:19;81833:49:::1;;;;-1:-1:-1::0;;;81833:49:0::1;;;;;;;:::i;:::-;81893:23;81933:8:::0;-1:-1:-1;;;;;81919:30:0;::::1;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;-1:-1:-1;81919:30:0::1;;81893:56;;81969:24;81984:8;;81969:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;81969:14:0::1;::::0;-1:-1:-1;;;81969:24:0:i:1;:::-;81960:33;;82004:27;82014:6;82022:8;;82004:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;82004:9:0::1;::::0;-1:-1:-1;;;82004:27:0:i:1;54746:671::-:0;-1:-1:-1;;;;;54822:16:0;;54841:1;54822:16;;;:7;:16;;;;;;54814:71;;;;-1:-1:-1;;;54814:71:0;;;;;;;:::i;:::-;54898:15;54916:19;54927:7;54916:10;:19::i;:::-;54898:37;;54956:7;54967:1;54956:12;54948:68;;;;-1:-1:-1;;;54948:68:0;;;;;;;:::i;:::-;55229:7;55211:14;;:25;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;55272:18:0;;;;;;:9;:18;;;;;:29;;;;;;55325:35;55282:7;55294;55325:17;:35::i;:::-;55376:33;;;-1:-1:-1;;;;;206:32:1;;188:51;;270:2;255:18;;248:34;;;55376:33:0;;161:18:1;55376:33:0;;;;;;;54803:614;54746:671;:::o;81217:380::-;80463:10;80477:9;80463:23;80455:55;;;;-1:-1:-1;;;80455:55:0;;14128:2:1;80455:55:0;;;14110:21:1;14167:2;14147:18;;;14140:30;-1:-1:-1;;;14186:18:1;;;14179:49;14245:18;;80455:55:0;13926:343:1;80455:55:0;80633:12:::1;::::0;::::1;::::0;::::1;;;80625:43;;;::::0;-1:-1:-1;;;80625:43:0;;14476:2:1;80625:43:0::1;::::0;::::1;14458:21:1::0;14515:2;14495:18;;;14488:30;-1:-1:-1;;;14534:18:1;;;14527:48;14592:18;;80625:43:0::1;14274:342:1::0;80625:43:0::1;81323:18:::0;81315:48:::2;;;;-1:-1:-1::0;;;81315:48:0::2;;;;;;;:::i;:::-;81395:5;::::0;:22:::2;::::0;81403:7;;81395:22:::2;:::i;:::-;81382:9;:35;81374:69;;;;-1:-1:-1::0;;;81374:69:0::2;;;;;;;:::i;62122:301::-:0;62283:41;48726:10;62316:7;62283:18;:41::i;:::-;62275:99;;;;-1:-1:-1;;;62275:99:0;;;;;;;:::i;:::-;62387:28;62397:4;62403:2;62407:7;62387:9;:28::i;86408:217::-;77785:10;77774:22;;;;:10;:22;;;;;;;;77766:52;;;;-1:-1:-1;;;77766:52:0;;;;;;;:::i;:::-;86503:17:::1;::::0;:39;::::1;;:17;::::0;;::::1;:39;;::::0;86495:73:::1;;;::::0;-1:-1:-1;;;86495:73:0;;15760:2:1;86495:73:0::1;::::0;::::1;15742:21:1::0;15799:2;15779:18;;;15772:30;-1:-1:-1;;;15818:18:1;;;15811:51;15879:18;;86495:73:0::1;15558:345:1::0;86495:73:0::1;86579:17;:38:::0;;-1:-1:-1;;86579:38:0::1;::::0;::::1;;::::0;;;::::1;::::0;;86408:217::o;62494:151::-;62598:39;62615:4;62621:2;62625:7;62598:39;;;;;;;;;;;;:16;:39::i;55685:792::-;-1:-1:-1;;;;;55767:16:0;;55786:1;55767:16;;;:7;:16;;;;;;55759:71;;;;-1:-1:-1;;;55759:71:0;;;;;;;:::i;:::-;55843:15;55861:26;55872:5;55879:7;55861:10;:26::i;:::-;55843:44;;55908:7;55919:1;55908:12;55900:68;;;;-1:-1:-1;;;55900:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;56223:26:0;;;;;;:19;:26;;;;;:37;;56253:7;;56223:26;:37;;56253:7;;56223:37;:::i;:::-;;;;-1:-1:-1;;;;;;;56296:21:0;;;;;;;:14;:21;;;;;;;;:30;;;;;;;;;:41;;;;;;56361:47;56311:5;56318:7;56330;56361:22;:47::i;:::-;56424:45;;;-1:-1:-1;;;;;206:32:1;;;188:51;;270:2;255:18;;248:34;;;56424:45:0;;;;;161:18:1;56424:45:0;;;;;;;55748:729;55685:792;;:::o;77971:116::-;75956:13;:11;:13::i;:::-;-1:-1:-1;;;;;78051:16:0;;;::::1;;::::0;;;:10:::1;:16;::::0;;;;:30;;-1:-1:-1;;78051:30:0::1;::::0;::::1;;::::0;;;::::1;::::0;;77971:116::o;59620:223::-;59692:7;64353:16;;;:7;:16;;;;;;-1:-1:-1;;;;;64353:16:0;;59756:56;;;;-1:-1:-1;;;59756:56:0;;16110:2:1;59756:56:0;;;16092:21:1;16149:2;16129:18;;;16122:30;-1:-1:-1;;;16168:18:1;;;16161:54;16232:18;;59756:56:0;15908:348:1;84660:403:0;84790:26;;-1:-1:-1;;16410:2:1;16406:15;;;16402:53;84790:26:0;;;16390:66:1;84747:4:0;;;;16472:12:1;;84790:26:0;;;;;;;;;;;;84780:37;;;;;;84764:53;;84835:6;84830:189;84851:6;:13;84847:1;:17;84830:189;;;84902:6;84909:1;84902:9;;;;;;;;:::i;:::-;;;;;;;84894:5;:17;:113;;84989:6;84996:1;84989:9;;;;;;;;:::i;:::-;;;;;;;85000:5;84972:34;;;;;;;;16784:19:1;;;16828:2;16819:12;;16812:28;16865:2;16856:12;;16627:247;84972:34:0;;;;;;;;;;;;;84962:45;;;;;;84894:113;;;84941:5;84948:6;84955:1;84948:9;;;;;;;;:::i;:::-;;;;;;;84924:34;;;;;;;;16784:19:1;;;16828:2;16819:12;;16812:28;16865:2;16856:12;;16627:247;84924:34:0;;;;;;;;;;;;;84914:45;;;;;;84894:113;84886:121;-1:-1:-1;84866:3:0;;;;:::i;:::-;;;;84830:189;;;-1:-1:-1;85045:10:0;;85036:19;;84660:403;-1:-1:-1;;;84660:403:0:o;59351:207::-;59423:7;-1:-1:-1;;;;;59451:19:0;;59443:73;;;;-1:-1:-1;;;59443:73:0;;17221:2:1;59443:73:0;;;17203:21:1;17260:2;17240:18;;;17233:30;17299:34;17279:18;;;17272:62;-1:-1:-1;;;17350:18:1;;;17343:39;17399:19;;59443:73:0;17019:405:1;59443:73:0;-1:-1:-1;;;;;;59534:16:0;;;;;:9;:16;;;;;;;59351:207::o;76711:103::-;75956:13;:11;:13::i;:::-;76776:30:::1;76803:1;76776:18;:30::i;:::-;76711:103::o:0;86188:110::-;77785:10;77774:22;;;;:10;:22;;;;;;;;77766:52;;;;-1:-1:-1;;;77766:52:0;;;;;;;:::i;:::-;86266:10:::1;:24:::0;86188:110::o;53711:100::-;53762:7;53789;53797:5;53789:14;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;53789:14:0;;53711:100;-1:-1:-1;;53711:100:0:o;84248:155::-;77785:10;77774:22;;;;:10;:22;;;;;;;;77766:52;;;;-1:-1:-1;;;77766:52:0;;;;;;;:::i;:::-;84341:5:::1;;84329:8;:17:::0;84321:47:::1;;;::::0;-1:-1:-1;;;84321:47:0;;17631:2:1;84321:47:0::1;::::0;::::1;17613:21:1::0;17670:2;17650:18;;;17643:30;-1:-1:-1;;;17689:18:1;;;17682:47;17746:18;;84321:47:0::1;17429:341:1::0;84321:47:0::1;84379:5;:16:::0;84248:155::o;60079:104::-;60135:13;60168:7;60161:14;;;;;:::i;83116:296::-;77785:10;77774:22;;;;:10;:22;;;;;;;;77766:52;;;;-1:-1:-1;;;77766:52:0;;;;;;;:::i;:::-;83306:15:::1;83289:33;;;;;;;;:::i;:::-;;;;;;;;;;;;;83279:44;;;;;;83250:6;;83233:24;;;;;;;;;:::i;:::-;;;;;;;;;;;;;83223:35;;;;;;:100:::0;83201:168:::1;;;::::0;-1:-1:-1;;;83201:168:0;;19310:2:1;83201:168:0::1;::::0;::::1;19292:21:1::0;19349:2;19329:18;;;19322:30;-1:-1:-1;;;19368:18:1;;;19361:48;19426:18;;83201:168:0::1;19108:342:1::0;83201:168:0::1;83380:15;:24;83398:6:::0;;83380:15;:24:::1;:::i;61665:155::-:0;61760:52;48726:10;61793:8;61803;61760:18;:52::i;:::-;61665:155;;:::o;53901:225::-;53959:7;53979:21;54027:15;52614:14;;;52541:95;54027:15;54003:39;;:21;:39;:::i;:::-;53979:63;;54060:58;54076:7;54085:13;54100:17;54109:7;-1:-1:-1;;;;;53290:18:0;53263:7;53290:18;;;:9;:18;;;;;;;53207:109;54100:17;54060:15;:58::i;:::-;54053:65;53901:225;-1:-1:-1;;;53901:225:0:o;83533:296::-;77785:10;77774:22;;;;:10;:22;;;;;;;;77766:52;;;;-1:-1:-1;;;77766:52:0;;;;;;;:::i;:::-;83723:15:::1;83706:33;;;;;;;;:::i;:::-;;;;;;;;;;;;;83696:44;;;;;;83667:6;;83650:24;;;;;;;;;:::i;:::-;;;;;;;;;;;;;83640:35;;;;;;:100:::0;83618:168:::1;;;::::0;-1:-1:-1;;;83618:168:0;;21589:2:1;83618:168:0::1;::::0;::::1;21571:21:1::0;21628:2;21608:18;;;21601:30;-1:-1:-1;;;21647:18:1;;;21640:48;21705:18;;83618:168:0::1;21387:342:1::0;83618:168:0::1;83797:15;:24;83815:6:::0;;83797:15;:24:::1;:::i;85284:788::-:0;85432:17;;85403:10;;85432:17;;85424:54;;;;-1:-1:-1;;;85424:54:0;;21936:2:1;85424:54:0;;;21918:21:1;21975:2;21955:18;;;21948:30;22014:26;21994:18;;;21987:54;22058:18;;85424:54:0;21734:348:1;85424:54:0;85497:30;85511:7;85520:6;85497:13;:30::i;:::-;85489:70;;;;-1:-1:-1;;;85489:70:0;;22289:2:1;85489:70:0;;;22271:21:1;22328:2;22308:18;;;22301:30;22367:29;22347:18;;;22340:57;22414:18;;85489:70:0;22087:351:1;85489:70:0;85578:18;85570:48;;;;-1:-1:-1;;;85570:48:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;85651:24:0;;85629:19;85651:24;;;:15;:24;;;;;;;;:125;;85720:1;85703:18;;:73;;85775:1;85767:5;;:9;;;;:::i;:::-;85651:125;;85703:73;85745:18;85762:1;85745:7;:18;:::i;:::-;85736:5;;:28;;;;:::i;:::-;85732:1;85724:5;;:9;;;;:::i;:::-;:40;;;;:::i;85651:125::-;85678:5;;:22;;85686:7;;85678:22;:::i;:::-;85629:147;;85808:11;85795:9;:24;85787:58;;;;-1:-1:-1;;;85787:58:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;85861:24:0;;;;;;:15;:24;;;;;;;;85856:62;;-1:-1:-1;;;;;85887:24:0;;;;;;:15;:24;;;;;:31;;-1:-1:-1;;85887:31:0;85914:4;85887:31;;;85856:62;85929:23;85969:7;-1:-1:-1;;;;;85955:29:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;85955:29:0;;85929:55;;86004:23;86019:7;;86004:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;86004:14:0;;-1:-1:-1;;;86004:23:0:i;:::-;85995:32;;86038:26;86048:6;86056:7;;86038:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;86038:9:0;;-1:-1:-1;;;86038:26:0:i;:::-;85374:698;;;85284:788;;;:::o;62716:279::-;62847:41;48726:10;62880:7;62847:18;:41::i;:::-;62839:99;;;;-1:-1:-1;;;62839:99:0;;;;;;;:::i;:::-;62949:38;62963:4;62969:2;62973:7;62982:4;62949:13;:38::i;:::-;62716:279;;;;:::o;54286:260::-;-1:-1:-1;;;;;52878:26:0;;54358:7;52878:26;;;:19;:26;;;;;;54358:7;;54402:30;;-1:-1:-1;;;54402:30:0;;54426:4;54402:30;;;2346:51:1;-1:-1:-1;;;;;54402:15:0;;;;;2319:18:1;;54402:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:53;;;;:::i;:::-;-1:-1:-1;;;;;53582:21:0;;;53555:7;53582:21;;;:14;:21;;;;;;;;:30;;;;;;;;;;54378:77;;-1:-1:-1;54473:65:0;;54489:7;;54378:77;;54060:15;:58::i;54473:65::-;54466:72;54286:260;-1:-1:-1;;;;54286:260:0:o;79971:384::-;80049:13;80083:16;80091:7;80083;:16::i;:::-;80075:49;;;;-1:-1:-1;;;80075:49:0;;23321:2:1;80075:49:0;;;23303:21:1;23360:2;23340:18;;;23333:30;-1:-1:-1;;;23379:18:1;;;23372:50;23439:18;;80075:49:0;23119:344:1;80075:49:0;80219:15;80257:18;:7;:16;:18::i;:::-;80298:15;80180:152;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;80135:212;;79971:384;;;:::o;80790:316::-;80463:10;80477:9;80463:23;80455:55;;;;-1:-1:-1;;;80455:55:0;;14128:2:1;80455:55:0;;;14110:21:1;14167:2;14147:18;;;14140:30;-1:-1:-1;;;14186:18:1;;;14179:49;14245:18;;80455:55:0;13926:343:1;80455:55:0;80633:12:::1;::::0;::::1;::::0;::::1;;;80625:43;;;::::0;-1:-1:-1;;;80625:43:0;;14476:2:1;80625:43:0::1;::::0;::::1;14458:21:1::0;14515:2;14495:18;;;14488:30;-1:-1:-1;;;14534:18:1;;;14527:48;14592:18;;80625:43:0::1;14274:342:1::0;80625:43:0::1;80880:15:::2;80888:6;80880:7;:15::i;:::-;80879:16;80871:49;;;::::0;-1:-1:-1;;;80871:49:0;;24144:2:1;80871:49:0::2;::::0;::::2;24126:21:1::0;24183:2;24163:18;;;24156:30;-1:-1:-1;;;24202:18:1;;;24195:50;24262:18;;80871:49:0::2;23942:344:1::0;80871:49:0::2;80952:5;;80939:9;:18;80931:52;;;;-1:-1:-1::0;;;80931:52:0::2;;;;;;;:::i;:::-;81009:9;::::0;:25:::2;::::0;-1:-1:-1;;;81009:25:0;;::::2;::::0;::::2;4409::1::0;;;80994:12:0::2;::::0;81009:9;;::::2;-1:-1:-1::0;;;;;81009:9:0::2;::::0;:17:::2;::::0;4382:18:1;;81009:25:0::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;80994:40;;81045:19;81051:4;81057:6;81045:5;:19::i;:::-;81080:18;::::0;81091:6;;-1:-1:-1;;;;;81080:18:0;::::2;::::0;::::2;::::0;;;::::2;80860:246;80790:316:::0;:::o;86730:182::-;77785:10;77774:22;;;;:10;:22;;;;;;;;77766:52;;;;-1:-1:-1;;;77766:52:0;;;;;;;:::i;:::-;86831:13:::1;86815:29;;:12;;;;;;;;;;;:29;;::::0;86807:58:::1;;;::::0;-1:-1:-1;;;86807:58:0;;24749:2:1;86807:58:0::1;::::0;::::1;24731:21:1::0;24788:2;24768:18;;;24761:30;-1:-1:-1;;;24807:18:1;;;24800:46;24863:18;;86807:58:0::1;24547:340:1::0;86807:58:0::1;86876:12;:28:::0;;;::::1;;;;-1:-1:-1::0;;86876:28:0;;::::1;::::0;;;::::1;::::0;;86730:182::o;78093:161::-;75956:13;:11;:13::i;:::-;-1:-1:-1;;;;;78179:20:0;::::1;;::::0;;;78202:4:::1;78179:20;::::0;;;;;;;:27;;-1:-1:-1;;78179:27:0::1;::::0;;::::1;::::0;;78213:35:::1;78190:8:::0;78213:23:::1;:35::i;:::-;78093:161:::0;:::o;83951:190::-;77785:10;77774:22;;;;:10;:22;;;;;;;;77766:52;;;;-1:-1:-1;;;77766:52:0;;;;;;;:::i;:::-;84055:9:::1;::::0;-1:-1:-1;;;;;84055:9:0;;;::::1;::::0;::::1;84034:31:::0;;::::1;::::0;84026:66:::1;;;::::0;-1:-1:-1;;;84026:66:0;;25094:2:1;84026:66:0::1;::::0;::::1;25076:21:1::0;25133:2;25113:18;;;25106:30;-1:-1:-1;;;25152:18:1;;;25145:52;25214:18;;84026:66:0::1;24892:346:1::0;84026:66:0::1;84103:9;:30:::0;;-1:-1:-1;;;;;84103:30:0;;::::1;::::0;::::1;-1:-1:-1::0;;;;;;84103:30:0;;::::1;::::0;;;::::1;::::0;;83951:190::o;76235:132::-;76116:7;76143:6;-1:-1:-1;;;;;76143:6:0;48726:10;76299:23;76291:68;;;;-1:-1:-1;;;76291:68:0;;25445:2:1;76291:68:0;;;25427:21:1;;;25464:18;;;25457:30;25523:34;25503:18;;;25496:62;25575:18;;76291:68:0;25243:356:1;70985:135:0;71067:16;71075:7;71067;:16::i;:::-;71059:53;;;;-1:-1:-1;;;71059:53:0;;16110:2:1;71059:53:0;;;16092:21:1;16149:2;16129:18;;;16122:30;-1:-1:-1;;;16168:18:1;;;16161:54;16232:18;;71059:53:0;15908:348:1;70298:174:0;70373:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;70373:29:0;-1:-1:-1;;;;;70373:29:0;;;;;;;;:24;;70427:23;70373:24;70427:14;:23::i;:::-;-1:-1:-1;;;;;70418:46:0;;;;;;;;;;;70298:174;;:::o;82151:415::-;82238:23;82297:8;:15;-1:-1:-1;;;;;82283:30:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;82283:30:0;;82274:39;;82329:6;82324:211;82341:8;:15;82337:1;:19;82324:211;;;82387:20;82395:8;82404:1;82395:11;;;;;;;;:::i;:::-;;;;;;;82387:7;:20::i;:::-;82386:21;82378:54;;;;-1:-1:-1;;;82378:54:0;;24144:2:1;82378:54:0;;;24126:21:1;24183:2;24163:18;;;24156:30;-1:-1:-1;;;24202:18:1;;;24195:50;24262:18;;82378:54:0;23942:344:1;82378:54:0;82447:12;82462:9;;;;;;;;;-1:-1:-1;;;;;82462:9:0;-1:-1:-1;;;;;82462:17:0;;82480:8;82489:1;82480:11;;;;;;;;:::i;:::-;;;;;;;82462:30;;;;;;;;;;;;;4409:25:1;;4397:2;4382:18;;4263:177;82462:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;82447:45;;82519:4;82507:6;82514:1;82507:9;;;;;;;;:::i;:::-;-1:-1:-1;;;;;82507:16:0;;;:9;;;;;;;;;;;:16;-1:-1:-1;82358:3:0;;;:::i;:::-;;;82324:211;;;;82151:415;;;:::o;82736:259::-;82853:6;82848:140;82865:7;:14;82861:1;:18;82848:140;;;82901:28;82907:6;82914:1;82907:9;;;;;;;;:::i;:::-;;;;;;;82918:7;82926:1;82918:10;;;;;;;;:::i;:::-;;;;;;;82901:5;:28::i;:::-;82965:7;82973:1;82965:10;;;;;;;;:::i;:::-;;;;;;;82954:6;82961:1;82954:9;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;;;;82949:27:0;;;;;;;;;;;82881:3;;;:::i;:::-;;;82848:140;;25268:317;25383:6;25358:21;:31;;25350:73;;;;-1:-1:-1;;;25350:73:0;;25806:2:1;25350:73:0;;;25788:21:1;25845:2;25825:18;;;25818:30;25884:31;25864:18;;;25857:59;25933:18;;25350:73:0;25604:353:1;25350:73:0;25437:12;25455:9;-1:-1:-1;;;;;25455:14:0;25477:6;25455:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25436:52;;;25507:7;25499:78;;;;-1:-1:-1;;;25499:78:0;;26374:2:1;25499:78:0;;;26356:21:1;26413:2;26393:18;;;26386:30;26452:34;26432:18;;;26425:62;26523:28;26503:18;;;26496:56;26569:19;;25499:78:0;26172:422:1;64985:264:0;65078:4;65095:13;65111:23;65126:7;65111:14;:23::i;:::-;65095:39;;65164:5;-1:-1:-1;;;;;65153:16:0;:7;-1:-1:-1;;;;;65153:16:0;;:52;;;-1:-1:-1;;;;;;62012:25:0;;;61988:4;62012:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;65173:32;65153:87;;;;65233:7;-1:-1:-1;;;;;65209:31:0;:20;65221:7;65209:11;:20::i;:::-;-1:-1:-1;;;;;65209:31:0;;;64985:264;-1:-1:-1;;;;64985:264:0:o;68950:1229::-;69075:4;-1:-1:-1;;;;;69048:31:0;:23;69063:7;69048:14;:23::i;:::-;-1:-1:-1;;;;;69048:31:0;;69040:81;;;;-1:-1:-1;;;69040:81:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;69140:16:0;;69132:65;;;;-1:-1:-1;;;69132:65:0;;27207:2:1;69132:65:0;;;27189:21:1;27246:2;27226:18;;;27219:30;27285:34;27265:18;;;27258:62;-1:-1:-1;;;27336:18:1;;;27329:34;27380:19;;69132:65:0;27005:400:1;69132:65:0;69382:4;-1:-1:-1;;;;;69355:31:0;:23;69370:7;69355:14;:23::i;:::-;-1:-1:-1;;;;;69355:31:0;;69347:81;;;;-1:-1:-1;;;69347:81:0;;;;;;;:::i;:::-;69500:24;;;;:15;:24;;;;;;;;69493:31;;-1:-1:-1;;;;;;69493:31:0;;;;;;-1:-1:-1;;;;;69976:15:0;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;69976:20:0;;;70011:13;;;;;;;;;:18;;69493:31;70011:18;;;70051:16;;;:7;:16;;;;;;:21;;;;;;;;;;70090:27;;69516:7;;70090:27;;;61010:346;60940:416;;:::o;33070:177::-;33180:58;;;-1:-1:-1;;;;;206:32:1;;33180:58:0;;;188:51:1;255:18;;;;248:34;;;33180:58:0;;;;;;;;;;161:18:1;;;;33180:58:0;;;;;;;;-1:-1:-1;;;;;33180:58:0;-1:-1:-1;;;33180:58:0;;;33153:86;;33173:5;;33153:19;:86::i;77330:191::-;77404:16;77423:6;;-1:-1:-1;;;;;77440:17:0;;;-1:-1:-1;;;;;;77440:17:0;;;;;;77473:40;;77423:6;;;;;;;77473:40;;77404:16;77473:40;77393:128;77330:191;:::o;70615:281::-;70736:8;-1:-1:-1;;;;;70727:17:0;:5;-1:-1:-1;;;;;70727:17:0;;70719:55;;;;-1:-1:-1;;;70719:55:0;;27612:2:1;70719:55:0;;;27594:21:1;27651:2;27631:18;;;27624:30;27690:27;27670:18;;;27663:55;27735:18;;70719:55:0;27410:349:1;70719:55:0;-1:-1:-1;;;;;70785:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;70785:46:0;;;;;;;;;;70847:41;;819::1;;;70847::0;;792:18:1;70847:41:0;;;;;;;70615:281;;;:::o;56655:248::-;56865:12;;-1:-1:-1;;;;;56845:16:0;;56801:7;56845:16;;;:7;:16;;;;;;56801:7;;56880:15;;56829:32;;:13;:32;:::i;:::-;56828:49;;;;:::i;:::-;:67;;;;:::i;63876:270::-;63989:28;63999:4;64005:2;64009:7;63989:9;:28::i;:::-;64036:47;64059:4;64065:2;64069:7;64078:4;64036:22;:47::i;:::-;64028:110;;;;-1:-1:-1;;;64028:110:0;;;;;;;:::i;64690:128::-;64755:4;64353:16;;;:7;:16;;;;;;-1:-1:-1;;;;;64353:16:0;64779:31;;;64690:128::o;20133:716::-;20189:13;20240:14;20257:17;20268:5;20257:10;:17::i;:::-;20277:1;20257:21;20240:38;;20293:20;20327:6;-1:-1:-1;;;;;20316:18:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20316:18:0;-1:-1:-1;20293:41:0;-1:-1:-1;20458:28:0;;;20474:2;20458:28;20515:288;-1:-1:-1;;20547:5:0;-1:-1:-1;;;20684:2:0;20673:14;;20668:30;20547:5;20655:44;20745:2;20736:11;;;-1:-1:-1;20766:21:0;20515:288;20766:21;-1:-1:-1;20824:6:0;20133:716;-1:-1:-1;;;20133:716:0:o;66549:942::-;-1:-1:-1;;;;;66629:16:0;;66621:61;;;;-1:-1:-1;;;66621:61:0;;28385:2:1;66621:61:0;;;28367:21:1;;;28404:18;;;28397:30;28463:34;28443:18;;;28436:62;28515:18;;66621:61:0;28183:356:1;66621:61:0;66702:16;66710:7;66702;:16::i;:::-;66701:17;66693:58;;;;-1:-1:-1;;;66693:58:0;;28746:2:1;66693:58:0;;;28728:21:1;28785:2;28765:18;;;28758:30;28824;28804:18;;;28797:58;28872:18;;66693:58:0;28544:352:1;66693:58:0;66911:16;66919:7;66911;:16::i;:::-;66910:17;66902:58;;;;-1:-1:-1;;;66902:58:0;;28746:2:1;66902:58:0;;;28728:21:1;28785:2;28765:18;;;28758:30;28824;28804:18;;;28797:58;28872:18;;66902:58:0;28544:352:1;66902:58:0;-1:-1:-1;;;;;67309:13:0;;;;;;:9;:13;;;;;;;;:18;;67326:1;67309:18;;;67351:16;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;67351:21:0;;;;;67390:33;67359:7;;67309:13;;67390:33;;67309:13;;67390:33;61665:155;;:::o;76969:201::-;75956:13;:11;:13::i;:::-;-1:-1:-1;;;;;77058:22:0;::::1;77050:73;;;::::0;-1:-1:-1;;;77050:73:0;;29103:2:1;77050:73:0::1;::::0;::::1;29085:21:1::0;29142:2;29122:18;;;29115:30;29181:34;29161:18;;;29154:62;-1:-1:-1;;;29232:18:1;;;29225:36;29278:19;;77050:73:0::1;28901:402:1::0;77050:73:0::1;77134:28;77153:8;77134:18;:28::i;37393:649::-:0;37817:23;37843:69;37871:4;37843:69;;;;;;;;;;;;;;;;;37851:5;-1:-1:-1;;;;;37843:27:0;;;:69;;;;;:::i;:::-;37817:95;;37931:10;:17;37952:1;37931:22;:56;;;;37968:10;37957:30;;;;;;;;;;;;:::i;:::-;37923:111;;;;-1:-1:-1;;;37923:111:0;;29760:2:1;37923:111:0;;;29742:21:1;29799:2;29779:18;;;29772:30;29838:34;29818:18;;;29811:62;-1:-1:-1;;;29889:18:1;;;29882:40;29939:19;;37923:111:0;29558:406:1;71684:853:0;71838:4;-1:-1:-1;;;;;71859:13:0;;24304:19;:23;71855:675;;71895:71;;-1:-1:-1;;;71895:71:0;;-1:-1:-1;;;;;71895:36:0;;;;;:71;;48726:10;;71946:4;;71952:7;;71961:4;;71895:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;71895:71:0;;;;;;;;-1:-1:-1;;71895:71:0;;;;;;;;;;;;:::i;:::-;;;71891:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72136:6;:13;72153:1;72136:18;72132:328;;72179:60;;-1:-1:-1;;;72179:60:0;;;;;;;:::i;72132:328::-;72410:6;72404:13;72395:6;72391:2;72387:15;72380:38;71891:584;-1:-1:-1;;;;;;72017:51:0;-1:-1:-1;;;72017:51:0;;-1:-1:-1;72010:58:0;;71855:675;-1:-1:-1;72514:4:0;71684:853;;;;;;:::o;16967:948::-;17020:7;;-1:-1:-1;;;17098:17:0;;17094:106;;-1:-1:-1;;;17136:17:0;;;-1:-1:-1;17182:2:0;17172:12;17094:106;17227:8;17218:5;:17;17214:106;;17265:8;17256:17;;;-1:-1:-1;17302:2:0;17292:12;17214:106;17347:8;17338:5;:17;17334:106;;17385:8;17376:17;;;-1:-1:-1;17422:2:0;17412:12;17334:106;17467:7;17458:5;:16;17454:103;;17504:7;17495:16;;;-1:-1:-1;17540:1:0;17530:11;17454:103;17584:7;17575:5;:16;17571:103;;17621:7;17612:16;;;-1:-1:-1;17657:1:0;17647:11;17571:103;17701:7;17692:5;:16;17688:103;;17738:7;17729:16;;;-1:-1:-1;17774:1:0;17764:11;17688:103;17818:7;17809:5;:16;17805:68;;17856:1;17846:11;17901:6;16967:948;-1:-1:-1;;16967:948:0:o;26764:229::-;26901:12;26933:52;26955:6;26963:4;26969:1;26972:12;26901;28138;28152:23;28179:6;-1:-1:-1;;;;;28179:11:0;28198:5;28205:4;28179:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28137:73;;;;28228:69;28255:6;28263:7;28272:10;28284:12;28228:26;:69::i;:::-;28221:76;27850:455;-1:-1:-1;;;;;;;27850:455:0:o;30423:644::-;30608:12;30637:7;30633:427;;;30665:10;:17;30686:1;30665:22;30661:290;;-1:-1:-1;;;;;24304:19:0;;;30875:60;;;;-1:-1:-1;;;30875:60:0;;31618:2:1;30875:60:0;;;31600:21:1;31657:2;31637:18;;;31630:30;31696:31;31676:18;;;31669:59;31745:18;;30875:60:0;31416:353:1;30875:60:0;-1:-1:-1;30972:10:0;30965:17;;30633:427;31015:33;31023:10;31035:12;31770:17;;:21;31766:388;;32002:10;31996:17;32059:15;32046:10;32042:2;32038:19;32031:44;31766:388;32129:12;32122:20;;-1:-1:-1;;;32122:20:0;;;;;;;;:::i;293:131:1:-;-1:-1:-1;;;;;;367:32:1;;357:43;;347:71;;414:1;411;404:12;429:245;487:6;540:2;528:9;519:7;515:23;511:32;508:52;;;556:1;553;546:12;508:52;595:9;582:23;614:30;638:5;614:30;:::i;871:250::-;956:1;966:113;980:6;977:1;974:13;966:113;;;1056:11;;;1050:18;1037:11;;;1030:39;1002:2;995:10;966:113;;;-1:-1:-1;;1113:1:1;1095:16;;1088:27;871:250::o;1126:271::-;1168:3;1206:5;1200:12;1233:6;1228:3;1221:19;1249:76;1318:6;1311:4;1306:3;1302:14;1295:4;1288:5;1284:16;1249:76;:::i;:::-;1379:2;1358:15;-1:-1:-1;;1354:29:1;1345:39;;;;1386:4;1341:50;;1126:271;-1:-1:-1;;1126:271:1:o;1402:220::-;1551:2;1540:9;1533:21;1514:4;1571:45;1612:2;1601:9;1597:18;1589:6;1571:45;:::i;1627:131::-;-1:-1:-1;;;;;1702:31:1;;1692:42;;1682:70;;1748:1;1745;1738:12;1763:247;1822:6;1875:2;1863:9;1854:7;1850:23;1846:32;1843:52;;;1891:1;1888;1881:12;1843:52;1930:9;1917:23;1949:31;1974:5;1949:31;:::i;2015:180::-;2074:6;2127:2;2115:9;2106:7;2102:23;2098:32;2095:52;;;2143:1;2140;2133:12;2095:52;-1:-1:-1;2166:23:1;;2015:180;-1:-1:-1;2015:180:1:o;2408:315::-;2476:6;2484;2537:2;2525:9;2516:7;2512:23;2508:32;2505:52;;;2553:1;2550;2543:12;2505:52;2592:9;2579:23;2611:31;2636:5;2611:31;:::i;:::-;2661:5;2713:2;2698:18;;;;2685:32;;-1:-1:-1;;;2408:315:1:o;2728:367::-;2791:8;2801:6;2855:3;2848:4;2840:6;2836:17;2832:27;2822:55;;2873:1;2870;2863:12;2822:55;-1:-1:-1;2896:20:1;;-1:-1:-1;;;;;2928:30:1;;2925:50;;;2971:1;2968;2961:12;2925:50;3008:4;3000:6;2996:17;2984:29;;3068:3;3061:4;3051:6;3048:1;3044:14;3036:6;3032:27;3028:38;3025:47;3022:67;;;3085:1;3082;3075:12;3022:67;2728:367;;;;;:::o;3100:437::-;3186:6;3194;3247:2;3235:9;3226:7;3222:23;3218:32;3215:52;;;3263:1;3260;3253:12;3215:52;3303:9;3290:23;-1:-1:-1;;;;;3328:6:1;3325:30;3322:50;;;3368:1;3365;3358:12;3322:50;3407:70;3469:7;3460:6;3449:9;3445:22;3407:70;:::i;:::-;3496:8;;3381:96;;-1:-1:-1;3100:437:1;-1:-1:-1;;;;3100:437:1:o;3802:456::-;3879:6;3887;3895;3948:2;3936:9;3927:7;3923:23;3919:32;3916:52;;;3964:1;3961;3954:12;3916:52;4003:9;3990:23;4022:31;4047:5;4022:31;:::i;:::-;4072:5;-1:-1:-1;4129:2:1;4114:18;;4101:32;4142:33;4101:32;4142:33;:::i;:::-;3802:456;;4194:7;;-1:-1:-1;;;4248:2:1;4233:18;;;;4220:32;;3802:456::o;4445:118::-;4531:5;4524:13;4517:21;4510:5;4507:32;4497:60;;4553:1;4550;4543:12;4568:241;4624:6;4677:2;4665:9;4656:7;4652:23;4648:32;4645:52;;;4693:1;4690;4683:12;4645:52;4732:9;4719:23;4751:28;4773:5;4751:28;:::i;4996:402::-;5078:6;5086;5139:2;5127:9;5118:7;5114:23;5110:32;5107:52;;;5155:1;5152;5145:12;5107:52;5194:9;5181:23;5213:31;5238:5;5213:31;:::i;:::-;5263:5;-1:-1:-1;5320:2:1;5305:18;;5292:32;5333:33;5292:32;5333:33;:::i;:::-;5385:7;5375:17;;;4996:402;;;;;:::o;5403:382::-;5468:6;5476;5529:2;5517:9;5508:7;5504:23;5500:32;5497:52;;;5545:1;5542;5535:12;5497:52;5584:9;5571:23;5603:31;5628:5;5603:31;:::i;:::-;5653:5;-1:-1:-1;5710:2:1;5695:18;;5682:32;5723:30;5682:32;5723:30;:::i;5790:127::-;5851:10;5846:3;5842:20;5839:1;5832:31;5882:4;5879:1;5872:15;5906:4;5903:1;5896:15;5922:275;5993:2;5987:9;6058:2;6039:13;;-1:-1:-1;;6035:27:1;6023:40;;-1:-1:-1;;;;;6078:34:1;;6114:22;;;6075:62;6072:88;;;6140:18;;:::i;:::-;6176:2;6169:22;5922:275;;-1:-1:-1;5922:275:1:o;6202:712::-;6256:5;6309:3;6302:4;6294:6;6290:17;6286:27;6276:55;;6327:1;6324;6317:12;6276:55;6363:6;6350:20;6389:4;-1:-1:-1;;;;;6408:2:1;6405:26;6402:52;;;6434:18;;:::i;:::-;6480:2;6477:1;6473:10;6503:28;6527:2;6523;6519:11;6503:28;:::i;:::-;6565:15;;;6635;;;6631:24;;;6596:12;;;;6667:15;;;6664:35;;;6695:1;6692;6685:12;6664:35;6731:2;6723:6;6719:15;6708:26;;6743:142;6759:6;6754:3;6751:15;6743:142;;;6825:17;;6813:30;;6776:12;;;;6863;;;;6743:142;;6919:483;7012:6;7020;7073:2;7061:9;7052:7;7048:23;7044:32;7041:52;;;7089:1;7086;7079:12;7041:52;7128:9;7115:23;7147:31;7172:5;7147:31;:::i;:::-;7197:5;-1:-1:-1;7253:2:1;7238:18;;7225:32;-1:-1:-1;;;;;7269:30:1;;7266:50;;;7312:1;7309;7302:12;7266:50;7335:61;7388:7;7379:6;7368:9;7364:22;7335:61;:::i;:::-;7325:71;;;6919:483;;;;;:::o;7592:592::-;7663:6;7671;7724:2;7712:9;7703:7;7699:23;7695:32;7692:52;;;7740:1;7737;7730:12;7692:52;7780:9;7767:23;-1:-1:-1;;;;;7850:2:1;7842:6;7839:14;7836:34;;;7866:1;7863;7856:12;7836:34;7904:6;7893:9;7889:22;7879:32;;7949:7;7942:4;7938:2;7934:13;7930:27;7920:55;;7971:1;7968;7961:12;7920:55;8011:2;7998:16;8037:2;8029:6;8026:14;8023:34;;;8053:1;8050;8043:12;8023:34;8098:7;8093:2;8084:6;8080:2;8076:15;8072:24;8069:37;8066:57;;;8119:1;8116;8109:12;8066:57;8150:2;8142:11;;;;;8172:6;;-1:-1:-1;7592:592:1;;-1:-1:-1;;;;7592:592:1:o;8189:684::-;8309:6;8317;8325;8378:2;8366:9;8357:7;8353:23;8349:32;8346:52;;;8394:1;8391;8384:12;8346:52;8434:9;8421:23;-1:-1:-1;;;;;8504:2:1;8496:6;8493:14;8490:34;;;8520:1;8517;8510:12;8490:34;8543:61;8596:7;8587:6;8576:9;8572:22;8543:61;:::i;:::-;8533:71;;8657:2;8646:9;8642:18;8629:32;8613:48;;8686:2;8676:8;8673:16;8670:36;;;8702:1;8699;8692:12;8670:36;;8741:72;8805:7;8794:8;8783:9;8779:24;8741:72;:::i;:::-;8189:684;;8832:8;;-1:-1:-1;8715:98:1;;-1:-1:-1;;;;8189:684:1:o;8878:1108::-;8973:6;8981;8989;8997;9050:3;9038:9;9029:7;9025:23;9021:33;9018:53;;;9067:1;9064;9057:12;9018:53;9106:9;9093:23;9125:31;9150:5;9125:31;:::i;:::-;9175:5;-1:-1:-1;9199:2:1;9238:18;;;9225:32;9266:33;9225:32;9266:33;:::i;:::-;9318:7;-1:-1:-1;9372:2:1;9357:18;;9344:32;;-1:-1:-1;9427:2:1;9412:18;;9399:32;-1:-1:-1;;;;;9480:14:1;;;9477:34;;;9507:1;9504;9497:12;9477:34;9545:6;9534:9;9530:22;9520:32;;9590:7;9583:4;9579:2;9575:13;9571:27;9561:55;;9612:1;9609;9602:12;9561:55;9648:2;9635:16;9670:2;9666;9663:10;9660:36;;;9676:18;;:::i;:::-;9718:53;9761:2;9742:13;;-1:-1:-1;;9738:27:1;9734:36;;9718:53;:::i;:::-;9705:66;;9794:2;9787:5;9780:17;9834:7;9829:2;9824;9820;9816:11;9812:20;9809:33;9806:53;;;9855:1;9852;9845:12;9806:53;9910:2;9905;9901;9897:11;9892:2;9885:5;9881:14;9868:45;9954:1;9949:2;9944;9937:5;9933:14;9929:23;9922:34;;9975:5;9965:15;;;;;8878:1108;;;;;;;:::o;10650:380::-;10729:1;10725:12;;;;10772;;;10793:61;;10847:4;10839:6;10835:17;10825:27;;10793:61;10900:2;10892:6;10889:14;10869:18;10866:38;10863:161;;10946:10;10941:3;10937:20;10934:1;10927:31;10981:4;10978:1;10971:15;11009:4;11006:1;10999:15;11867:340;12069:2;12051:21;;;12108:2;12088:18;;;12081:30;-1:-1:-1;;;12142:2:1;12127:18;;12120:46;12198:2;12183:18;;11867:340::o;12212:341::-;12414:2;12396:21;;;12453:2;12433:18;;;12426:30;-1:-1:-1;;;12487:2:1;12472:18;;12465:47;12544:2;12529:18;;12212:341::o;12558:402::-;12760:2;12742:21;;;12799:2;12779:18;;;12772:30;12838:34;12833:2;12818:18;;12811:62;-1:-1:-1;;;12904:2:1;12889:18;;12882:36;12950:3;12935:19;;12558:402::o;12965:407::-;13167:2;13149:21;;;13206:2;13186:18;;;13179:30;13245:34;13240:2;13225:18;;13218:62;-1:-1:-1;;;13311:2:1;13296:18;;13289:41;13362:3;13347:19;;12965:407::o;13377:127::-;13438:10;13433:3;13429:20;13426:1;13419:31;13469:4;13466:1;13459:15;13493:4;13490:1;13483:15;13509:125;13574:9;;;13595:10;;;13592:36;;;13608:18;;:::i;14621:168::-;14694:9;;;14725;;14742:15;;;14736:22;;14722:37;14712:71;;14763:18;;:::i;14794:345::-;14996:2;14978:21;;;15035:2;15015:18;;;15008:30;-1:-1:-1;;;15069:2:1;15054:18;;15047:51;15130:2;15115:18;;14794:345::o;15144:409::-;15346:2;15328:21;;;15385:2;15365:18;;;15358:30;15424:34;15419:2;15404:18;;15397:62;-1:-1:-1;;;15490:2:1;15475:18;;15468:43;15543:3;15528:19;;15144:409::o;16495:127::-;16556:10;16551:3;16547:20;16544:1;16537:31;16587:4;16584:1;16577:15;16611:4;16608:1;16601:15;16879:135;16918:3;16939:17;;;16936:43;;16959:18;;:::i;:::-;-1:-1:-1;17006:1:1;16995:13;;16879:135::o;17901:722::-;17951:3;17992:5;17986:12;18021:36;18047:9;18021:36;:::i;:::-;18076:1;18093:18;;;18120:133;;;;18267:1;18262:355;;;;18086:531;;18120:133;-1:-1:-1;;18153:24:1;;18141:37;;18226:14;;18219:22;18207:35;;18198:45;;;-1:-1:-1;18120:133:1;;18262:355;18293:5;18290:1;18283:16;18322:4;18367:2;18364:1;18354:16;18392:1;18406:165;18420:6;18417:1;18414:13;18406:165;;;18498:14;;18485:11;;;18478:35;18541:16;;;;18435:10;;18406:165;;;18410:3;;;18600:6;18595:3;18591:16;18584:23;;18086:531;;;;;17901:722;;;;:::o;18628:197::-;18756:3;18781:38;18815:3;18807:6;18781:38;:::i;18830:273::-;19015:6;19007;19002:3;18989:33;18971:3;19041:16;;19066:13;;;19041:16;18830:273;-1:-1:-1;18830:273:1:o;19455:545::-;19557:2;19552:3;19549:11;19546:448;;;19593:1;19618:5;19614:2;19607:17;19663:4;19659:2;19649:19;19733:2;19721:10;19717:19;19714:1;19710:27;19704:4;19700:38;19769:4;19757:10;19754:20;19751:47;;;-1:-1:-1;19792:4:1;19751:47;19847:2;19842:3;19838:12;19835:1;19831:20;19825:4;19821:31;19811:41;;19902:82;19920:2;19913:5;19910:13;19902:82;;;19965:17;;;19946:1;19935:13;19902:82;;20176:1206;-1:-1:-1;;;;;20295:3:1;20292:27;20289:53;;;20322:18;;:::i;:::-;20351:94;20441:3;20401:38;20433:4;20427:11;20401:38;:::i;:::-;20395:4;20351:94;:::i;:::-;20471:1;20496:2;20491:3;20488:11;20513:1;20508:616;;;;21168:1;21185:3;21182:93;;;-1:-1:-1;21241:19:1;;;21228:33;21182:93;-1:-1:-1;;20133:1:1;20129:11;;;20125:24;20121:29;20111:40;20157:1;20153:11;;;20108:57;21288:78;;20481:895;;20508:616;17848:1;17841:14;;;17885:4;17872:18;;-1:-1:-1;;20544:17:1;;;20645:9;20667:229;20681:7;20678:1;20675:14;20667:229;;;20770:19;;;20757:33;20742:49;;20877:4;20862:20;;;;20830:1;20818:14;;;;20697:12;20667:229;;;20671:3;20924;20915:7;20912:16;20909:159;;;21048:1;21044:6;21038:3;21032;21029:1;21025:11;21021:21;21017:34;21013:39;21000:9;20995:3;20991:19;20978:33;20974:79;20966:6;20959:95;20909:159;;;21111:1;21105:3;21102:1;21098:11;21094:19;21088:4;21081:33;20481:895;;;20176:1206;;;:::o;22575:217::-;22615:1;22641;22631:132;;22685:10;22680:3;22676:20;22673:1;22666:31;22720:4;22717:1;22710:15;22748:4;22745:1;22738:15;22631:132;-1:-1:-1;22777:9:1;;22575:217::o;22797:128::-;22864:9;;;22885:11;;;22882:37;;;22899:18;;:::i;22930:184::-;23000:6;23053:2;23041:9;23032:7;23028:23;23024:32;23021:52;;;23069:1;23066;23059:12;23021:52;-1:-1:-1;23092:16:1;;22930:184;-1:-1:-1;22930:184:1:o;23468:469::-;23689:3;23717:38;23751:3;23743:6;23717:38;:::i;:::-;23784:6;23778:13;23800:65;23858:6;23854:2;23847:4;23839:6;23835:17;23800:65;:::i;:::-;23881:50;23923:6;23919:2;23915:15;23907:6;23881:50;:::i;24291:251::-;24361:6;24414:2;24402:9;24393:7;24389:23;24385:32;24382:52;;;24430:1;24427;24420:12;24382:52;24462:9;24456:16;24481:31;24506:5;24481:31;:::i;26599:401::-;26801:2;26783:21;;;26840:2;26820:18;;;26813:30;26879:34;26874:2;26859:18;;26852:62;-1:-1:-1;;;26945:2:1;26930:18;;26923:35;26990:3;26975:19;;26599:401::o;27764:414::-;27966:2;27948:21;;;28005:2;27985:18;;;27978:30;28044:34;28039:2;28024:18;;28017:62;-1:-1:-1;;;28110:2:1;28095:18;;28088:48;28168:3;28153:19;;27764:414::o;29308:245::-;29375:6;29428:2;29416:9;29407:7;29403:23;29399:32;29396:52;;;29444:1;29441;29434:12;29396:52;29476:9;29470:16;29495:28;29517:5;29495:28;:::i;29969:489::-;-1:-1:-1;;;;;30238:15:1;;;30220:34;;30290:15;;30285:2;30270:18;;30263:43;30337:2;30322:18;;30315:34;;;30385:3;30380:2;30365:18;;30358:31;;;30163:4;;30406:46;;30432:19;;30424:6;30406:46;:::i;:::-;30398:54;29969:489;-1:-1:-1;;;;;;29969:489:1:o;30463:249::-;30532:6;30585:2;30573:9;30564:7;30560:23;30556:32;30553:52;;;30601:1;30598;30591:12;30553:52;30633:9;30627:16;30652:30;30676:5;30652:30;:::i;31124:287::-;31253:3;31291:6;31285:13;31307:66;31366:6;31361:3;31354:4;31346:6;31342:17;31307:66;:::i;:::-;31389:16;;;;;31124:287;-1:-1:-1;;31124:287:1:o

Swarm Source

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