ETH Price: $3,349.51 (-0.77%)

Contract

0x9e00EAA650C6d236b083eD089800E4C5FFC2f5D8
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Admin Withdraw196135552024-04-08 21:14:35228 days ago1712610875IN
0x9e00EAA6...5FFC2f5D8
0 ETH0.0017281331.80173942
Admin Withdraw196135412024-04-08 21:11:47228 days ago1712610707IN
0x9e00EAA6...5FFC2f5D8
0 ETH0.0016248429.91405612
Withdraw196133122024-04-08 20:25:59228 days ago1712607959IN
0x9e00EAA6...5FFC2f5D8
0 ETH0.0020133528.31529813
Deposit196009732024-04-07 2:54:23230 days ago1712458463IN
0x9e00EAA6...5FFC2f5D8
0 ETH0.0007910112.87769149
Withdraw195914592024-04-05 18:56:23231 days ago1712343383IN
0x9e00EAA6...5FFC2f5D8
0 ETH0.0034424832.69064538
Withdraw195825332024-04-04 12:55:11232 days ago1712235311IN
0x9e00EAA6...5FFC2f5D8
0 ETH0.0017618924.77880805
Withdraw195821402024-04-04 11:35:35232 days ago1712230535IN
0x9e00EAA6...5FFC2f5D8
0 ETH0.002448120
Withdraw195798102024-04-04 3:46:23233 days ago1712202383IN
0x9e00EAA6...5FFC2f5D8
0 ETH0.0022265421.14621264
Withdraw195664702024-04-02 6:55:47235 days ago1712040947IN
0x9e00EAA6...5FFC2f5D8
0 ETH0.0024622220.11740462
Withdraw195595932024-04-01 7:46:47235 days ago1711957607IN
0x9e00EAA6...5FFC2f5D8
0 ETH0.0019851918.85185634
Withdraw195345602024-03-28 19:16:59239 days ago1711653419IN
0x9e00EAA6...5FFC2f5D8
0 ETH0.0026183736.82401811
Withdraw195274032024-03-27 18:32:47240 days ago1711564367IN
0x9e00EAA6...5FFC2f5D8
0 ETH0.0062045558.91980675
Withdraw195229032024-03-27 3:03:35241 days ago1711508615IN
0x9e00EAA6...5FFC2f5D8
0 ETH0.0024182727.41652284
Withdraw195134402024-03-25 19:04:35242 days ago1711393475IN
0x9e00EAA6...5FFC2f5D8
0 ETH0.0036108234.29307969
Withdraw194938952024-03-23 1:01:11245 days ago1711155671IN
0x9e00EAA6...5FFC2f5D8
0 ETH0.0014158919.91268662
Withdraw194937022024-03-23 0:22:23245 days ago1711153343IN
0x9e00EAA6...5FFC2f5D8
0 ETH0.0017655420.01913357
Withdraw194735172024-03-20 4:24:35248 days ago1710908675IN
0x9e00EAA6...5FFC2f5D8
0 ETH0.0023542733.11539002
Withdraw194731712024-03-20 3:14:35248 days ago1710904475IN
0x9e00EAA6...5FFC2f5D8
0 ETH0.0023004432.35830723
Withdraw194725712024-03-20 1:13:11248 days ago1710897191IN
0x9e00EAA6...5FFC2f5D8
0 ETH0.0035294933.51685682
Deposit194600212024-03-18 6:52:47250 days ago1710744767IN
0x9e00EAA6...5FFC2f5D8
0 ETH0.0012953522.8759744
Withdraw194589772024-03-18 3:21:59250 days ago1710732119IN
0x9e00EAA6...5FFC2f5D8
0 ETH0.0017438824.52545476
Withdraw194514472024-03-17 1:56:59251 days ago1710640619IN
0x9e00EAA6...5FFC2f5D8
0 ETH0.0021678730.48832074
Withdraw194510582024-03-17 0:38:11251 days ago1710635891IN
0x9e00EAA6...5FFC2f5D8
0 ETH0.0026679130.24670944
Withdraw194046092024-03-10 12:11:47257 days ago1710072707IN
0x9e00EAA6...5FFC2f5D8
0 ETH0.0037807253.17106835
Withdraw193926002024-03-08 19:41:11259 days ago1709926871IN
0x9e00EAA6...5FFC2f5D8
0 ETH0.0062853471.25835674
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
FeralFlipsMarket

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-06-26
*/

// 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/structs/EnumerableSet.sol


// OpenZeppelin Contracts (last updated v4.9.0) (utils/structs/EnumerableSet.sol)
// This file was procedurally generated from scripts/generate/templates/EnumerableSet.js.

pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```solidity
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 *
 * [WARNING]
 * ====
 * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure
 * unusable.
 * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.
 *
 * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an
 * array of EnumerableSet.
 * ====
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;
        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping(bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) {
            // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            if (lastIndex != toDeleteIndex) {
                bytes32 lastValue = set._values[lastIndex];

                // Move the last value to the index where the value to delete is
                set._values[toDeleteIndex] = lastValue;
                // Update the index for the moved value
                set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex
            }

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        return set._values[index];
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function _values(Set storage set) private view returns (bytes32[] memory) {
        return set._values;
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
        bytes32[] memory store = _values(set._inner);
        bytes32[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(AddressSet storage set) internal view returns (address[] memory) {
        bytes32[] memory store = _values(set._inner);
        address[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(UintSet storage set) internal view returns (uint256[] memory) {
        bytes32[] memory store = _values(set._inner);
        uint256[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }
}

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


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

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

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


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

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

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


// OpenZeppelin Contracts (last updated v4.9.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;





/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```solidity
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```solidity
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it. We recommend using {AccessControlDefaultAdminRules}
 * to enforce additional security measures for this role.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role);
        _;
    }

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view virtual override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `_msgSender()` is missing `role`.
     * Overriding this function changes the behavior of the {onlyRole} modifier.
     *
     * Format of the revert message is described in {_checkRole}.
     *
     * _Available since v4.6._
     */
    function _checkRole(bytes32 role) internal view virtual {
        _checkRole(role, _msgSender());
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(account),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleGranted} event.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleRevoked} event.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     *
     * May emit a {RoleRevoked} event.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * May emit a {RoleGranted} event.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleGranted} event.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleRevoked} event.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

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


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

pragma solidity ^0.8.0;


/**
 * @dev External interface of AccessControlEnumerable declared to support ERC165 detection.
 */
interface IAccessControlEnumerable is IAccessControl {
    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) external view returns (address);

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) external view returns (uint256);
}

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


// OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControlEnumerable.sol)

pragma solidity ^0.8.0;




/**
 * @dev Extension of {AccessControl} that allows enumerating the members of each role.
 */
abstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl {
    using EnumerableSet for EnumerableSet.AddressSet;

    mapping(bytes32 => EnumerableSet.AddressSet) private _roleMembers;

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

    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) public view virtual override returns (address) {
        return _roleMembers[role].at(index);
    }

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) public view virtual override returns (uint256) {
        return _roleMembers[role].length();
    }

    /**
     * @dev Overload {_grantRole} to track enumerable memberships
     */
    function _grantRole(bytes32 role, address account) internal virtual override {
        super._grantRole(role, account);
        _roleMembers[role].add(account);
    }

    /**
     * @dev Overload {_revokeRole} to track enumerable memberships
     */
    function _revokeRole(bytes32 role, address account) internal virtual override {
        super._revokeRole(role, account);
        _roleMembers[role].remove(account);
    }
}

// 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/security/ReentrancyGuard.sol


// OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

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

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == _ENTERED;
    }
}

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


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

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

// File: contracts/feral_flips.sol


pragma solidity ^0.8.0;








contract FeralFlipsMarket is AccessControlEnumerable, ReentrancyGuard {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    bytes32 private constant ADMIN_ROLE = keccak256("ADMIN_ROLE");

    event Deposit(address indexed depositor, uint256 amount);

    event AdminAdded(address indexed admin);
    event AdminRemoved(address indexed admin);
    event Withdrawal(address indexed user, uint256 amount);
    event WithdrawalRequested(address indexed user, uint256 amount);

    address private deployer;
    uint256 private depositBalance;
    mapping(address => uint256) private nonces;
    mapping(address => uint256) private lastWithdrawal;

    IERC20 public token;

    constructor(address _tokenAddress) {
        deployer = msg.sender;
        token = IERC20(_tokenAddress);
        _setupRole(ADMIN_ROLE, deployer);
        _setupRole(DEFAULT_ADMIN_ROLE, deployer);
    }

    modifier onlyAdmin() {
        require(
            hasRole(ADMIN_ROLE, msg.sender),
            "Only admins can call this function."
        );
        _;
    }

    function addAdmin(address _newAdmin) public onlyAdmin {
        grantRole(ADMIN_ROLE, _newAdmin);
        emit AdminAdded(_newAdmin);
    }

    function removeAdmin(address _admin) public onlyAdmin {
        revokeRole(ADMIN_ROLE, _admin);
        emit AdminRemoved(_admin);
    }

    function deposit(uint256 _amount) public nonReentrant {
        require(_amount > 0, "Deposit amount must be greater than zero.");
        require(
            token.balanceOf(msg.sender) >= _amount,
            "Insufficient balance."
        );
        require(
            token.allowance(msg.sender, address(this)) >= _amount,
            "Token allowance not set or insufficient."
        );

        token.safeTransferFrom(msg.sender, address(this), _amount);

        depositBalance = depositBalance.add(_amount);
        emit Deposit(msg.sender, _amount);
    }

    function withdraw(
        uint256 _amount,
        uint256 _nonce,
        bytes memory _signature
    ) public nonReentrant {
        require(_amount > 0, "Withdrawal amount must be greater than zero.");
        require(depositBalance >= _amount, "Insufficient contract balance.");
        require(nonces[msg.sender] + 1 == _nonce, "Invalid nonce.");
        require(
            lastWithdrawal[msg.sender] + 1 days <= block.timestamp,
            "You can only withdraw once every 24 hours"
        );

        bytes32 message = keccak256(
            abi.encodePacked(
                "\x19Ethereum Signed Message:\n32",
                keccak256(abi.encode(msg.sender, _amount, _nonce))
            )
        );

        address actualSigner = recoverSigner(message, _signature);
        require(
            hasRole(ADMIN_ROLE, actualSigner),
            "Invalid signature from non-admin."
        );

        nonces[msg.sender] = _nonce;
        token.safeTransfer(msg.sender, _amount);
        depositBalance = depositBalance.sub(_amount);
        lastWithdrawal[msg.sender] = block.timestamp;

        emit Withdrawal(msg.sender, _amount);
    }

    function recoverSigner(
        bytes32 _message,
        bytes memory _signature
    ) internal pure returns (address) {
        require(_signature.length == 65, "Invalid signature length");
        bytes32 r;
        bytes32 s;
        uint8 v;

        assembly {
            r := mload(add(_signature, 32))
            s := mload(add(_signature, 64))
            v := byte(0, mload(add(_signature, 96)))
        }

        if (v < 27) {
            v += 27;
        }

        return ecrecover(_message, v, r, s);
    }

    function adminWithdraw(uint256 _amount) public onlyAdmin nonReentrant {
        require(_amount > 0, "Withdrawal amount must be greater than zero.");
        require(
            token.balanceOf(address(this)) >= _amount,
            "Insufficient contract balance."
        );

        token.safeTransfer(msg.sender, _amount);
        depositBalance = depositBalance.sub(_amount);

        emit Withdrawal(msg.sender, _amount);
    }

    function isAdmin(address _address) public view onlyAdmin returns (bool) {
        return hasRole(ADMIN_ROLE, _address);
    }

    function getNonce(address user) public view onlyAdmin returns (uint256) {
        return nonces[user];
    }

    function getDeployer() public view onlyAdmin returns (address) {
        return deployer;
    }

    function getDepositBalance() public view onlyAdmin returns (uint256) {
        return depositBalance;
    }

    function getLastWithdrawalTime(
        address _user
    ) public view returns (uint256) {
        return lastWithdrawal[_user];
    }

    function getAdminRole() public view onlyAdmin returns (bytes32) {
        return ADMIN_ROLE;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"admin","type":"address"}],"name":"AdminAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"admin","type":"address"}],"name":"AdminRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"depositor","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawal","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"WithdrawalRequested","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_newAdmin","type":"address"}],"name":"addAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"adminWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getAdminRole","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDeployer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDepositBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"getLastWithdrawalTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getNonce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"isAdmin","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_admin","type":"address"}],"name":"removeAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_nonce","type":"uint256"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051620039e7380380620039e7833981810160405281019062000037919062000453565b600160028190555033600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620001157fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166200015360201b60201c565b6200014c6000801b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166200015360201b60201c565b5062000485565b6200016582826200016960201b60201c565b5050565b620001808282620001b160201b6200143f1760201c565b620001ac8160016000858152602001908152602001600020620002a260201b6200151f1790919060201c565b505050565b620001c38282620002da60201b60201c565b6200029e57600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620002436200034460201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000620002d2836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6200034c60201b60201c565b905092915050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b6000620003608383620003c660201b60201c565b620003bb578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050620003c0565b600090505b92915050565b600080836001016000848152602001908152602001600020541415905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200041b82620003ee565b9050919050565b6200042d816200040e565b81146200043957600080fd5b50565b6000815190506200044d8162000422565b92915050565b6000602082840312156200046c576200046b620003e9565b5b60006200047c848285016200043c565b91505092915050565b61355280620004956000396000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c806372630531116100b8578063a217fddf1161007c578063a217fddf14610370578063b3ecf2361461038e578063b6b55f25146103ac578063ca15c873146103c8578063d547741f146103f8578063fc0c546a1461041457610137565b806372630531146102ba578063744fb6ca146102d85780637c5b4a37146102f45780639010d07c1461031057806391d148541461034057610137565b806324d7806c116100ff57806324d7806c146102065780632d0335ab146102365780632f2ff15d1461026657806336568abe14610282578063704802751461029e57610137565b806301fe4d5e1461013c57806301ffc9a71461016c5780630497de4a1461019c5780631785f53c146101ba578063248a9ca3146101d6575b600080fd5b6101566004803603810190610151919061223a565b610432565b6040516101639190612280565b60405180910390f35b610186600480360381019061018191906122f3565b61047b565b604051610193919061233b565b60405180910390f35b6101a46104f5565b6040516101b19190612280565b60405180910390f35b6101d460048036038101906101cf919061223a565b610568565b005b6101f060048036038101906101eb919061238c565b610641565b6040516101fd91906123c8565b60405180910390f35b610220600480360381019061021b919061223a565b610660565b60405161022d919061233b565b60405180910390f35b610250600480360381019061024b919061223a565b6106fc565b60405161025d9190612280565b60405180910390f35b610280600480360381019061027b91906123e3565b6107ae565b005b61029c600480360381019061029791906123e3565b6107cf565b005b6102b860048036038101906102b3919061223a565b610852565b005b6102c261092b565b6040516102cf9190612432565b60405180910390f35b6102f260048036038101906102ed91906125bf565b6109be565b005b61030e6004803603810190610309919061262e565b610d84565b005b61032a6004803603810190610325919061265b565b610fd7565b6040516103379190612432565b60405180910390f35b61035a600480360381019061035591906123e3565b611006565b604051610367919061233b565b60405180910390f35b610378611070565b60405161038591906123c8565b60405180910390f35b610396611077565b6040516103a391906123c8565b60405180910390f35b6103c660048036038101906103c1919061262e565b611108565b005b6103e260048036038101906103dd919061238c565b6113d4565b6040516103ef9190612280565b60405180910390f35b610412600480360381019061040d91906123e3565b6113f8565b005b61041c611419565b60405161042991906126fa565b60405180910390f35b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60007f5a05180f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806104ee57506104ed8261154f565b5b9050919050565b60006105217fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533611006565b610560576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161055790612798565b60405180910390fd5b600454905090565b6105927fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533611006565b6105d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105c890612798565b60405180910390fd5b6105fb7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775826113f8565b8073ffffffffffffffffffffffffffffffffffffffff167fa3b62bc36326052d97ea62d63c3d60308ed4c3ea8ac079dd8499f1e9c4f80c0f60405160405180910390a250565b6000806000838152602001908152602001600020600101549050919050565b600061068c7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533611006565b6106cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106c290612798565b60405180910390fd5b6106f57fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177583611006565b9050919050565b60006107287fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533611006565b610767576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075e90612798565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6107b782610641565b6107c0816115c9565b6107ca83836115dd565b505050565b6107d7611611565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610844576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083b9061282a565b60405180910390fd5b61084e8282611619565b5050565b61087c7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533611006565b6108bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b290612798565b60405180910390fd5b6108e57fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775826107ae565b8073ffffffffffffffffffffffffffffffffffffffff167f44d6d25963f097ad14f29f06854a01f575648a1ef82f30e562ccd3889717e33960405160405180910390a250565b60006109577fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533611006565b610996576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098d90612798565b60405180910390fd5b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6109c661164d565b60008311610a09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a00906128bc565b60405180910390fd5b826004541015610a4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4590612928565b60405180910390fd5b816001600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610a9b9190612977565b14610adb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad2906129f7565b60405180910390fd5b4262015180600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610b2a9190612977565b1115610b6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6290612a89565b60405180910390fd5b6000338484604051602001610b8293929190612aa9565b60405160208183030381529060405280519060200120604051602001610ba89190612b58565b6040516020818303038152906040528051906020012090506000610bcc828461169a565b9050610bf87fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177582611006565b610c37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2e90612bf0565b60405180910390fd5b83600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610cc83386600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166117739092919063ffffffff16565b610cdd856004546117f990919063ffffffff16565b60048190555042600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503373ffffffffffffffffffffffffffffffffffffffff167f7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b6586604051610d6d9190612280565b60405180910390a25050610d7f61180f565b505050565b610dae7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533611006565b610ded576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de490612798565b60405180910390fd5b610df561164d565b60008111610e38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2f906128bc565b60405180910390fd5b80600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610e949190612432565b602060405180830381865afa158015610eb1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed59190612c25565b1015610f16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0d90612928565b60405180910390fd5b610f633382600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166117739092919063ffffffff16565b610f78816004546117f990919063ffffffff16565b6004819055503373ffffffffffffffffffffffffffffffffffffffff167f7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b6582604051610fc49190612280565b60405180910390a2610fd461180f565b50565b6000610ffe826001600086815260200190815260200160002061181990919063ffffffff16565b905092915050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000801b81565b60006110a37fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533611006565b6110e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d990612798565b60405180910390fd5b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775905090565b61111061164d565b60008111611153576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114a90612cc4565b60405180910390fd5b80600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b81526004016111af9190612432565b602060405180830381865afa1580156111cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111f09190612c25565b1015611231576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122890612d30565b60405180910390fd5b80600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e33306040518363ffffffff1660e01b815260040161128f929190612d50565b602060405180830381865afa1580156112ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112d09190612c25565b1015611311576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130890612deb565b60405180910390fd5b611360333083600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611833909392919063ffffffff16565b611375816004546118bc90919063ffffffff16565b6004819055503373ffffffffffffffffffffffffffffffffffffffff167fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c826040516113c19190612280565b60405180910390a26113d161180f565b50565b60006113f1600160008481526020019081526020016000206118d2565b9050919050565b61140182610641565b61140a816115c9565b6114148383611619565b505050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6114498282611006565b61151b57600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506114c0611611565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000611547836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6118e7565b905092915050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806115c257506115c182611957565b5b9050919050565b6115da816115d5611611565b6119c1565b50565b6115e7828261143f565b61160c816001600085815260200190815260200160002061151f90919063ffffffff16565b505050565b600033905090565b6116238282611a46565b6116488160016000858152602001908152602001600020611b2790919063ffffffff16565b505050565b6002805403611691576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168890612e57565b60405180910390fd5b60028081905550565b600060418251146116e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d790612ec3565b60405180910390fd5b60008060006020850151925060408501519150606085015160001a9050601b8160ff16101561171957601b816117169190612ef0565b90505b6001868285856040516000815260200160405260405161173c9493929190612f34565b6020604051602081039080840390855afa15801561175e573d6000803e3d6000fd5b50505060206040510351935050505092915050565b6117f48363a9059cbb60e01b8484604051602401611792929190612f79565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611b57565b505050565b600081836118079190612fa2565b905092915050565b6001600281905550565b60006118288360000183611c1f565b60001c905092915050565b6118b6846323b872dd60e01b85858560405160240161185493929190612fd6565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611b57565b50505050565b600081836118ca9190612977565b905092915050565b60006118e082600001611c4a565b9050919050565b60006118f38383611c5b565b61194c578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050611951565b600090505b92915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6119cb8282611006565b611a42576119d881611c7e565b6119e68360001c6020611cab565b6040516020016119f792919061310b565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a39919061317e565b60405180910390fd5b5050565b611a508282611006565b15611b2357600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611ac8611611565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6000611b4f836000018373ffffffffffffffffffffffffffffffffffffffff1660001b611ee7565b905092915050565b6000611bb9826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16611ffb9092919063ffffffff16565b9050600081511480611bdb575080806020019051810190611bda91906131cc565b5b611c1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c119061326b565b60405180910390fd5b505050565b6000826000018281548110611c3757611c3661328b565b5b9060005260206000200154905092915050565b600081600001805490509050919050565b600080836001016000848152602001908152602001600020541415905092915050565b6060611ca48273ffffffffffffffffffffffffffffffffffffffff16601460ff16611cab565b9050919050565b606060006002836002611cbe91906132ba565b611cc89190612977565b67ffffffffffffffff811115611ce157611ce0612494565b5b6040519080825280601f01601f191660200182016040528015611d135781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110611d4b57611d4a61328b565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110611daf57611dae61328b565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002611def91906132ba565b611df99190612977565b90505b6001811115611e99577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110611e3b57611e3a61328b565b5b1a60f81b828281518110611e5257611e5161328b565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080611e92906132fc565b9050611dfc565b5060008414611edd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed490613371565b60405180910390fd5b8091505092915050565b60008083600101600084815260200190815260200160002054905060008114611fef576000600182611f199190612fa2565b9050600060018660000180549050611f319190612fa2565b9050818114611fa0576000866000018281548110611f5257611f5161328b565b5b9060005260206000200154905080876000018481548110611f7657611f7561328b565b5b90600052602060002001819055508387600101600083815260200190815260200160002081905550505b85600001805480611fb457611fb3613391565b5b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050611ff5565b60009150505b92915050565b606061200a8484600085612013565b90509392505050565b606082471015612058576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204f90613432565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516120819190613499565b60006040518083038185875af1925050503d80600081146120be576040519150601f19603f3d011682016040523d82523d6000602084013e6120c3565b606091505b50915091506120d4878383876120e0565b92505050949350505050565b6060831561214257600083510361213a576120fa85612155565b612139576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612130906134fc565b60405180910390fd5b5b82905061214d565b61214c8383612178565b5b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008251111561218b5781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121bf919061317e565b60405180910390fd5b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612207826121dc565b9050919050565b612217816121fc565b811461222257600080fd5b50565b6000813590506122348161220e565b92915050565b6000602082840312156122505761224f6121d2565b5b600061225e84828501612225565b91505092915050565b6000819050919050565b61227a81612267565b82525050565b60006020820190506122956000830184612271565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6122d08161229b565b81146122db57600080fd5b50565b6000813590506122ed816122c7565b92915050565b600060208284031215612309576123086121d2565b5b6000612317848285016122de565b91505092915050565b60008115159050919050565b61233581612320565b82525050565b6000602082019050612350600083018461232c565b92915050565b6000819050919050565b61236981612356565b811461237457600080fd5b50565b60008135905061238681612360565b92915050565b6000602082840312156123a2576123a16121d2565b5b60006123b084828501612377565b91505092915050565b6123c281612356565b82525050565b60006020820190506123dd60008301846123b9565b92915050565b600080604083850312156123fa576123f96121d2565b5b600061240885828601612377565b925050602061241985828601612225565b9150509250929050565b61242c816121fc565b82525050565b60006020820190506124476000830184612423565b92915050565b61245681612267565b811461246157600080fd5b50565b6000813590506124738161244d565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6124cc82612483565b810181811067ffffffffffffffff821117156124eb576124ea612494565b5b80604052505050565b60006124fe6121c8565b905061250a82826124c3565b919050565b600067ffffffffffffffff82111561252a57612529612494565b5b61253382612483565b9050602081019050919050565b82818337600083830152505050565b600061256261255d8461250f565b6124f4565b90508281526020810184848401111561257e5761257d61247e565b5b612589848285612540565b509392505050565b600082601f8301126125a6576125a5612479565b5b81356125b684826020860161254f565b91505092915050565b6000806000606084860312156125d8576125d76121d2565b5b60006125e686828701612464565b93505060206125f786828701612464565b925050604084013567ffffffffffffffff811115612618576126176121d7565b5b61262486828701612591565b9150509250925092565b600060208284031215612644576126436121d2565b5b600061265284828501612464565b91505092915050565b60008060408385031215612672576126716121d2565b5b600061268085828601612377565b925050602061269185828601612464565b9150509250929050565b6000819050919050565b60006126c06126bb6126b6846121dc565b61269b565b6121dc565b9050919050565b60006126d2826126a5565b9050919050565b60006126e4826126c7565b9050919050565b6126f4816126d9565b82525050565b600060208201905061270f60008301846126eb565b92915050565b600082825260208201905092915050565b7f4f6e6c792061646d696e732063616e2063616c6c20746869732066756e63746960008201527f6f6e2e0000000000000000000000000000000000000000000000000000000000602082015250565b6000612782602383612715565b915061278d82612726565b604082019050919050565b600060208201905081810360008301526127b181612775565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000612814602f83612715565b915061281f826127b8565b604082019050919050565b6000602082019050818103600083015261284381612807565b9050919050565b7f5769746864726177616c20616d6f756e74206d7573742062652067726561746560008201527f72207468616e207a65726f2e0000000000000000000000000000000000000000602082015250565b60006128a6602c83612715565b91506128b18261284a565b604082019050919050565b600060208201905081810360008301526128d581612899565b9050919050565b7f496e73756666696369656e7420636f6e74726163742062616c616e63652e0000600082015250565b6000612912601e83612715565b915061291d826128dc565b602082019050919050565b6000602082019050818103600083015261294181612905565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061298282612267565b915061298d83612267565b92508282019050808211156129a5576129a4612948565b5b92915050565b7f496e76616c6964206e6f6e63652e000000000000000000000000000000000000600082015250565b60006129e1600e83612715565b91506129ec826129ab565b602082019050919050565b60006020820190508181036000830152612a10816129d4565b9050919050565b7f596f752063616e206f6e6c79207769746864726177206f6e636520657665727960008201527f20323420686f7572730000000000000000000000000000000000000000000000602082015250565b6000612a73602983612715565b9150612a7e82612a17565b604082019050919050565b60006020820190508181036000830152612aa281612a66565b9050919050565b6000606082019050612abe6000830186612423565b612acb6020830185612271565b612ad86040830184612271565b949350505050565b600081905092915050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000612b21601c83612ae0565b9150612b2c82612aeb565b601c82019050919050565b6000819050919050565b612b52612b4d82612356565b612b37565b82525050565b6000612b6382612b14565b9150612b6f8284612b41565b60208201915081905092915050565b7f496e76616c6964207369676e61747572652066726f6d206e6f6e2d61646d696e60008201527f2e00000000000000000000000000000000000000000000000000000000000000602082015250565b6000612bda602183612715565b9150612be582612b7e565b604082019050919050565b60006020820190508181036000830152612c0981612bcd565b9050919050565b600081519050612c1f8161244d565b92915050565b600060208284031215612c3b57612c3a6121d2565b5b6000612c4984828501612c10565b91505092915050565b7f4465706f73697420616d6f756e74206d7573742062652067726561746572207460008201527f68616e207a65726f2e0000000000000000000000000000000000000000000000602082015250565b6000612cae602983612715565b9150612cb982612c52565b604082019050919050565b60006020820190508181036000830152612cdd81612ca1565b9050919050565b7f496e73756666696369656e742062616c616e63652e0000000000000000000000600082015250565b6000612d1a601583612715565b9150612d2582612ce4565b602082019050919050565b60006020820190508181036000830152612d4981612d0d565b9050919050565b6000604082019050612d656000830185612423565b612d726020830184612423565b9392505050565b7f546f6b656e20616c6c6f77616e6365206e6f7420736574206f7220696e73756660008201527f66696369656e742e000000000000000000000000000000000000000000000000602082015250565b6000612dd5602883612715565b9150612de082612d79565b604082019050919050565b60006020820190508181036000830152612e0481612dc8565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000612e41601f83612715565b9150612e4c82612e0b565b602082019050919050565b60006020820190508181036000830152612e7081612e34565b9050919050565b7f496e76616c6964207369676e6174757265206c656e6774680000000000000000600082015250565b6000612ead601883612715565b9150612eb882612e77565b602082019050919050565b60006020820190508181036000830152612edc81612ea0565b9050919050565b600060ff82169050919050565b6000612efb82612ee3565b9150612f0683612ee3565b9250828201905060ff811115612f1f57612f1e612948565b5b92915050565b612f2e81612ee3565b82525050565b6000608082019050612f4960008301876123b9565b612f566020830186612f25565b612f6360408301856123b9565b612f7060608301846123b9565b95945050505050565b6000604082019050612f8e6000830185612423565b612f9b6020830184612271565b9392505050565b6000612fad82612267565b9150612fb883612267565b9250828203905081811115612fd057612fcf612948565b5b92915050565b6000606082019050612feb6000830186612423565b612ff86020830185612423565b6130056040830184612271565b949350505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b6000613043601783612ae0565b915061304e8261300d565b601782019050919050565b600081519050919050565b60005b83811015613082578082015181840152602081019050613067565b60008484015250505050565b600061309982613059565b6130a38185612ae0565b93506130b3818560208601613064565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b60006130f5601183612ae0565b9150613100826130bf565b601182019050919050565b600061311682613036565b9150613122828561308e565b915061312d826130e8565b9150613139828461308e565b91508190509392505050565b600061315082613059565b61315a8185612715565b935061316a818560208601613064565b61317381612483565b840191505092915050565b600060208201905081810360008301526131988184613145565b905092915050565b6131a981612320565b81146131b457600080fd5b50565b6000815190506131c6816131a0565b92915050565b6000602082840312156131e2576131e16121d2565b5b60006131f0848285016131b7565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000613255602a83612715565b9150613260826131f9565b604082019050919050565b6000602082019050818103600083015261328481613248565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006132c582612267565b91506132d083612267565b92508282026132de81612267565b915082820484148315176132f5576132f4612948565b5b5092915050565b600061330782612267565b91506000820361331a57613319612948565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b600061335b602083612715565b915061336682613325565b602082019050919050565b6000602082019050818103600083015261338a8161334e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b600061341c602683612715565b9150613427826133c0565b604082019050919050565b6000602082019050818103600083015261344b8161340f565b9050919050565b600081519050919050565b600081905092915050565b600061347382613452565b61347d818561345d565b935061348d818560208601613064565b80840191505092915050565b60006134a58284613468565b915081905092915050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b60006134e6601d83612715565b91506134f1826134b0565b602082019050919050565b60006020820190508181036000830152613515816134d9565b905091905056fea2646970667358221220fd3361376e861916e590ed26d40ef612b1ca38f6c52e3c69301366e8322b9a8264736f6c634300081200330000000000000000000000008355dbe8b0e275abad27eb843f3eaf3fc855e525

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101375760003560e01c806372630531116100b8578063a217fddf1161007c578063a217fddf14610370578063b3ecf2361461038e578063b6b55f25146103ac578063ca15c873146103c8578063d547741f146103f8578063fc0c546a1461041457610137565b806372630531146102ba578063744fb6ca146102d85780637c5b4a37146102f45780639010d07c1461031057806391d148541461034057610137565b806324d7806c116100ff57806324d7806c146102065780632d0335ab146102365780632f2ff15d1461026657806336568abe14610282578063704802751461029e57610137565b806301fe4d5e1461013c57806301ffc9a71461016c5780630497de4a1461019c5780631785f53c146101ba578063248a9ca3146101d6575b600080fd5b6101566004803603810190610151919061223a565b610432565b6040516101639190612280565b60405180910390f35b610186600480360381019061018191906122f3565b61047b565b604051610193919061233b565b60405180910390f35b6101a46104f5565b6040516101b19190612280565b60405180910390f35b6101d460048036038101906101cf919061223a565b610568565b005b6101f060048036038101906101eb919061238c565b610641565b6040516101fd91906123c8565b60405180910390f35b610220600480360381019061021b919061223a565b610660565b60405161022d919061233b565b60405180910390f35b610250600480360381019061024b919061223a565b6106fc565b60405161025d9190612280565b60405180910390f35b610280600480360381019061027b91906123e3565b6107ae565b005b61029c600480360381019061029791906123e3565b6107cf565b005b6102b860048036038101906102b3919061223a565b610852565b005b6102c261092b565b6040516102cf9190612432565b60405180910390f35b6102f260048036038101906102ed91906125bf565b6109be565b005b61030e6004803603810190610309919061262e565b610d84565b005b61032a6004803603810190610325919061265b565b610fd7565b6040516103379190612432565b60405180910390f35b61035a600480360381019061035591906123e3565b611006565b604051610367919061233b565b60405180910390f35b610378611070565b60405161038591906123c8565b60405180910390f35b610396611077565b6040516103a391906123c8565b60405180910390f35b6103c660048036038101906103c1919061262e565b611108565b005b6103e260048036038101906103dd919061238c565b6113d4565b6040516103ef9190612280565b60405180910390f35b610412600480360381019061040d91906123e3565b6113f8565b005b61041c611419565b60405161042991906126fa565b60405180910390f35b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60007f5a05180f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806104ee57506104ed8261154f565b5b9050919050565b60006105217fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533611006565b610560576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161055790612798565b60405180910390fd5b600454905090565b6105927fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533611006565b6105d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105c890612798565b60405180910390fd5b6105fb7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775826113f8565b8073ffffffffffffffffffffffffffffffffffffffff167fa3b62bc36326052d97ea62d63c3d60308ed4c3ea8ac079dd8499f1e9c4f80c0f60405160405180910390a250565b6000806000838152602001908152602001600020600101549050919050565b600061068c7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533611006565b6106cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106c290612798565b60405180910390fd5b6106f57fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177583611006565b9050919050565b60006107287fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533611006565b610767576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075e90612798565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6107b782610641565b6107c0816115c9565b6107ca83836115dd565b505050565b6107d7611611565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610844576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083b9061282a565b60405180910390fd5b61084e8282611619565b5050565b61087c7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533611006565b6108bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b290612798565b60405180910390fd5b6108e57fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775826107ae565b8073ffffffffffffffffffffffffffffffffffffffff167f44d6d25963f097ad14f29f06854a01f575648a1ef82f30e562ccd3889717e33960405160405180910390a250565b60006109577fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533611006565b610996576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098d90612798565b60405180910390fd5b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6109c661164d565b60008311610a09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a00906128bc565b60405180910390fd5b826004541015610a4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4590612928565b60405180910390fd5b816001600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610a9b9190612977565b14610adb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad2906129f7565b60405180910390fd5b4262015180600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610b2a9190612977565b1115610b6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6290612a89565b60405180910390fd5b6000338484604051602001610b8293929190612aa9565b60405160208183030381529060405280519060200120604051602001610ba89190612b58565b6040516020818303038152906040528051906020012090506000610bcc828461169a565b9050610bf87fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177582611006565b610c37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2e90612bf0565b60405180910390fd5b83600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610cc83386600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166117739092919063ffffffff16565b610cdd856004546117f990919063ffffffff16565b60048190555042600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503373ffffffffffffffffffffffffffffffffffffffff167f7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b6586604051610d6d9190612280565b60405180910390a25050610d7f61180f565b505050565b610dae7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533611006565b610ded576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de490612798565b60405180910390fd5b610df561164d565b60008111610e38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2f906128bc565b60405180910390fd5b80600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610e949190612432565b602060405180830381865afa158015610eb1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed59190612c25565b1015610f16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0d90612928565b60405180910390fd5b610f633382600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166117739092919063ffffffff16565b610f78816004546117f990919063ffffffff16565b6004819055503373ffffffffffffffffffffffffffffffffffffffff167f7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b6582604051610fc49190612280565b60405180910390a2610fd461180f565b50565b6000610ffe826001600086815260200190815260200160002061181990919063ffffffff16565b905092915050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000801b81565b60006110a37fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533611006565b6110e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d990612798565b60405180910390fd5b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775905090565b61111061164d565b60008111611153576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114a90612cc4565b60405180910390fd5b80600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b81526004016111af9190612432565b602060405180830381865afa1580156111cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111f09190612c25565b1015611231576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122890612d30565b60405180910390fd5b80600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e33306040518363ffffffff1660e01b815260040161128f929190612d50565b602060405180830381865afa1580156112ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112d09190612c25565b1015611311576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130890612deb565b60405180910390fd5b611360333083600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611833909392919063ffffffff16565b611375816004546118bc90919063ffffffff16565b6004819055503373ffffffffffffffffffffffffffffffffffffffff167fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c826040516113c19190612280565b60405180910390a26113d161180f565b50565b60006113f1600160008481526020019081526020016000206118d2565b9050919050565b61140182610641565b61140a816115c9565b6114148383611619565b505050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6114498282611006565b61151b57600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506114c0611611565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000611547836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6118e7565b905092915050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806115c257506115c182611957565b5b9050919050565b6115da816115d5611611565b6119c1565b50565b6115e7828261143f565b61160c816001600085815260200190815260200160002061151f90919063ffffffff16565b505050565b600033905090565b6116238282611a46565b6116488160016000858152602001908152602001600020611b2790919063ffffffff16565b505050565b6002805403611691576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168890612e57565b60405180910390fd5b60028081905550565b600060418251146116e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d790612ec3565b60405180910390fd5b60008060006020850151925060408501519150606085015160001a9050601b8160ff16101561171957601b816117169190612ef0565b90505b6001868285856040516000815260200160405260405161173c9493929190612f34565b6020604051602081039080840390855afa15801561175e573d6000803e3d6000fd5b50505060206040510351935050505092915050565b6117f48363a9059cbb60e01b8484604051602401611792929190612f79565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611b57565b505050565b600081836118079190612fa2565b905092915050565b6001600281905550565b60006118288360000183611c1f565b60001c905092915050565b6118b6846323b872dd60e01b85858560405160240161185493929190612fd6565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611b57565b50505050565b600081836118ca9190612977565b905092915050565b60006118e082600001611c4a565b9050919050565b60006118f38383611c5b565b61194c578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050611951565b600090505b92915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6119cb8282611006565b611a42576119d881611c7e565b6119e68360001c6020611cab565b6040516020016119f792919061310b565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a39919061317e565b60405180910390fd5b5050565b611a508282611006565b15611b2357600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611ac8611611565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6000611b4f836000018373ffffffffffffffffffffffffffffffffffffffff1660001b611ee7565b905092915050565b6000611bb9826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16611ffb9092919063ffffffff16565b9050600081511480611bdb575080806020019051810190611bda91906131cc565b5b611c1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c119061326b565b60405180910390fd5b505050565b6000826000018281548110611c3757611c3661328b565b5b9060005260206000200154905092915050565b600081600001805490509050919050565b600080836001016000848152602001908152602001600020541415905092915050565b6060611ca48273ffffffffffffffffffffffffffffffffffffffff16601460ff16611cab565b9050919050565b606060006002836002611cbe91906132ba565b611cc89190612977565b67ffffffffffffffff811115611ce157611ce0612494565b5b6040519080825280601f01601f191660200182016040528015611d135781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110611d4b57611d4a61328b565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110611daf57611dae61328b565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002611def91906132ba565b611df99190612977565b90505b6001811115611e99577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110611e3b57611e3a61328b565b5b1a60f81b828281518110611e5257611e5161328b565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080611e92906132fc565b9050611dfc565b5060008414611edd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed490613371565b60405180910390fd5b8091505092915050565b60008083600101600084815260200190815260200160002054905060008114611fef576000600182611f199190612fa2565b9050600060018660000180549050611f319190612fa2565b9050818114611fa0576000866000018281548110611f5257611f5161328b565b5b9060005260206000200154905080876000018481548110611f7657611f7561328b565b5b90600052602060002001819055508387600101600083815260200190815260200160002081905550505b85600001805480611fb457611fb3613391565b5b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050611ff5565b60009150505b92915050565b606061200a8484600085612013565b90509392505050565b606082471015612058576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204f90613432565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516120819190613499565b60006040518083038185875af1925050503d80600081146120be576040519150601f19603f3d011682016040523d82523d6000602084013e6120c3565b606091505b50915091506120d4878383876120e0565b92505050949350505050565b6060831561214257600083510361213a576120fa85612155565b612139576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612130906134fc565b60405180910390fd5b5b82905061214d565b61214c8383612178565b5b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008251111561218b5781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121bf919061317e565b60405180910390fd5b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612207826121dc565b9050919050565b612217816121fc565b811461222257600080fd5b50565b6000813590506122348161220e565b92915050565b6000602082840312156122505761224f6121d2565b5b600061225e84828501612225565b91505092915050565b6000819050919050565b61227a81612267565b82525050565b60006020820190506122956000830184612271565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6122d08161229b565b81146122db57600080fd5b50565b6000813590506122ed816122c7565b92915050565b600060208284031215612309576123086121d2565b5b6000612317848285016122de565b91505092915050565b60008115159050919050565b61233581612320565b82525050565b6000602082019050612350600083018461232c565b92915050565b6000819050919050565b61236981612356565b811461237457600080fd5b50565b60008135905061238681612360565b92915050565b6000602082840312156123a2576123a16121d2565b5b60006123b084828501612377565b91505092915050565b6123c281612356565b82525050565b60006020820190506123dd60008301846123b9565b92915050565b600080604083850312156123fa576123f96121d2565b5b600061240885828601612377565b925050602061241985828601612225565b9150509250929050565b61242c816121fc565b82525050565b60006020820190506124476000830184612423565b92915050565b61245681612267565b811461246157600080fd5b50565b6000813590506124738161244d565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6124cc82612483565b810181811067ffffffffffffffff821117156124eb576124ea612494565b5b80604052505050565b60006124fe6121c8565b905061250a82826124c3565b919050565b600067ffffffffffffffff82111561252a57612529612494565b5b61253382612483565b9050602081019050919050565b82818337600083830152505050565b600061256261255d8461250f565b6124f4565b90508281526020810184848401111561257e5761257d61247e565b5b612589848285612540565b509392505050565b600082601f8301126125a6576125a5612479565b5b81356125b684826020860161254f565b91505092915050565b6000806000606084860312156125d8576125d76121d2565b5b60006125e686828701612464565b93505060206125f786828701612464565b925050604084013567ffffffffffffffff811115612618576126176121d7565b5b61262486828701612591565b9150509250925092565b600060208284031215612644576126436121d2565b5b600061265284828501612464565b91505092915050565b60008060408385031215612672576126716121d2565b5b600061268085828601612377565b925050602061269185828601612464565b9150509250929050565b6000819050919050565b60006126c06126bb6126b6846121dc565b61269b565b6121dc565b9050919050565b60006126d2826126a5565b9050919050565b60006126e4826126c7565b9050919050565b6126f4816126d9565b82525050565b600060208201905061270f60008301846126eb565b92915050565b600082825260208201905092915050565b7f4f6e6c792061646d696e732063616e2063616c6c20746869732066756e63746960008201527f6f6e2e0000000000000000000000000000000000000000000000000000000000602082015250565b6000612782602383612715565b915061278d82612726565b604082019050919050565b600060208201905081810360008301526127b181612775565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000612814602f83612715565b915061281f826127b8565b604082019050919050565b6000602082019050818103600083015261284381612807565b9050919050565b7f5769746864726177616c20616d6f756e74206d7573742062652067726561746560008201527f72207468616e207a65726f2e0000000000000000000000000000000000000000602082015250565b60006128a6602c83612715565b91506128b18261284a565b604082019050919050565b600060208201905081810360008301526128d581612899565b9050919050565b7f496e73756666696369656e7420636f6e74726163742062616c616e63652e0000600082015250565b6000612912601e83612715565b915061291d826128dc565b602082019050919050565b6000602082019050818103600083015261294181612905565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061298282612267565b915061298d83612267565b92508282019050808211156129a5576129a4612948565b5b92915050565b7f496e76616c6964206e6f6e63652e000000000000000000000000000000000000600082015250565b60006129e1600e83612715565b91506129ec826129ab565b602082019050919050565b60006020820190508181036000830152612a10816129d4565b9050919050565b7f596f752063616e206f6e6c79207769746864726177206f6e636520657665727960008201527f20323420686f7572730000000000000000000000000000000000000000000000602082015250565b6000612a73602983612715565b9150612a7e82612a17565b604082019050919050565b60006020820190508181036000830152612aa281612a66565b9050919050565b6000606082019050612abe6000830186612423565b612acb6020830185612271565b612ad86040830184612271565b949350505050565b600081905092915050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000612b21601c83612ae0565b9150612b2c82612aeb565b601c82019050919050565b6000819050919050565b612b52612b4d82612356565b612b37565b82525050565b6000612b6382612b14565b9150612b6f8284612b41565b60208201915081905092915050565b7f496e76616c6964207369676e61747572652066726f6d206e6f6e2d61646d696e60008201527f2e00000000000000000000000000000000000000000000000000000000000000602082015250565b6000612bda602183612715565b9150612be582612b7e565b604082019050919050565b60006020820190508181036000830152612c0981612bcd565b9050919050565b600081519050612c1f8161244d565b92915050565b600060208284031215612c3b57612c3a6121d2565b5b6000612c4984828501612c10565b91505092915050565b7f4465706f73697420616d6f756e74206d7573742062652067726561746572207460008201527f68616e207a65726f2e0000000000000000000000000000000000000000000000602082015250565b6000612cae602983612715565b9150612cb982612c52565b604082019050919050565b60006020820190508181036000830152612cdd81612ca1565b9050919050565b7f496e73756666696369656e742062616c616e63652e0000000000000000000000600082015250565b6000612d1a601583612715565b9150612d2582612ce4565b602082019050919050565b60006020820190508181036000830152612d4981612d0d565b9050919050565b6000604082019050612d656000830185612423565b612d726020830184612423565b9392505050565b7f546f6b656e20616c6c6f77616e6365206e6f7420736574206f7220696e73756660008201527f66696369656e742e000000000000000000000000000000000000000000000000602082015250565b6000612dd5602883612715565b9150612de082612d79565b604082019050919050565b60006020820190508181036000830152612e0481612dc8565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000612e41601f83612715565b9150612e4c82612e0b565b602082019050919050565b60006020820190508181036000830152612e7081612e34565b9050919050565b7f496e76616c6964207369676e6174757265206c656e6774680000000000000000600082015250565b6000612ead601883612715565b9150612eb882612e77565b602082019050919050565b60006020820190508181036000830152612edc81612ea0565b9050919050565b600060ff82169050919050565b6000612efb82612ee3565b9150612f0683612ee3565b9250828201905060ff811115612f1f57612f1e612948565b5b92915050565b612f2e81612ee3565b82525050565b6000608082019050612f4960008301876123b9565b612f566020830186612f25565b612f6360408301856123b9565b612f7060608301846123b9565b95945050505050565b6000604082019050612f8e6000830185612423565b612f9b6020830184612271565b9392505050565b6000612fad82612267565b9150612fb883612267565b9250828203905081811115612fd057612fcf612948565b5b92915050565b6000606082019050612feb6000830186612423565b612ff86020830185612423565b6130056040830184612271565b949350505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b6000613043601783612ae0565b915061304e8261300d565b601782019050919050565b600081519050919050565b60005b83811015613082578082015181840152602081019050613067565b60008484015250505050565b600061309982613059565b6130a38185612ae0565b93506130b3818560208601613064565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b60006130f5601183612ae0565b9150613100826130bf565b601182019050919050565b600061311682613036565b9150613122828561308e565b915061312d826130e8565b9150613139828461308e565b91508190509392505050565b600061315082613059565b61315a8185612715565b935061316a818560208601613064565b61317381612483565b840191505092915050565b600060208201905081810360008301526131988184613145565b905092915050565b6131a981612320565b81146131b457600080fd5b50565b6000815190506131c6816131a0565b92915050565b6000602082840312156131e2576131e16121d2565b5b60006131f0848285016131b7565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000613255602a83612715565b9150613260826131f9565b604082019050919050565b6000602082019050818103600083015261328481613248565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006132c582612267565b91506132d083612267565b92508282026132de81612267565b915082820484148315176132f5576132f4612948565b5b5092915050565b600061330782612267565b91506000820361331a57613319612948565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b600061335b602083612715565b915061336682613325565b602082019050919050565b6000602082019050818103600083015261338a8161334e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b600061341c602683612715565b9150613427826133c0565b604082019050919050565b6000602082019050818103600083015261344b8161340f565b9050919050565b600081519050919050565b600081905092915050565b600061347382613452565b61347d818561345d565b935061348d818560208601613064565b80840191505092915050565b60006134a58284613468565b915081905092915050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b60006134e6601d83612715565b91506134f1826134b0565b602082019050919050565b60006020820190508181036000830152613515816134d9565b905091905056fea2646970667358221220fd3361376e861916e590ed26d40ef612b1ca38f6c52e3c69301366e8322b9a8264736f6c63430008120033

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

0000000000000000000000008355dbe8b0e275abad27eb843f3eaf3fc855e525

-----Decoded View---------------
Arg [0] : _tokenAddress (address): 0x8355DBE8B0e275ABAd27eB843F3eaF3FC855e525

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000008355dbe8b0e275abad27eb843f3eaf3fc855e525


Deployed Bytecode Sourcemap

80720:4917:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;85387:139;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;52014:214;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;85270:109;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;81974:139;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;46319:131;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;84912:127;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;85047:110;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;46760:147;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;47904:218;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;81824:142;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;85165:97;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;82713:1187;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;84459:445;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;52827:153;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;44792:147;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;43897:49;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;85534:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;82121:584;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;53154:142;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;47200:149;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;81403:19;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;85387:139;85470:7;85497:14;:21;85512:5;85497:21;;;;;;;;;;;;;;;;85490:28;;85387:139;;;:::o;52014:214::-;52099:4;52138:42;52123:57;;;:11;:57;;;;:97;;;;52184:36;52208:11;52184:23;:36::i;:::-;52123:97;52116:104;;52014:214;;;:::o;85270:109::-;85330:7;81702:31;80903:23;81722:10;81702:7;:31::i;:::-;81680:116;;;;;;;;;;;;:::i;:::-;;;;;;;;;85357:14:::1;;85350:21;;85270:109:::0;:::o;81974:139::-;81702:31;80903:23;81722:10;81702:7;:31::i;:::-;81680:116;;;;;;;;;;;;:::i;:::-;;;;;;;;;82039:30:::1;80903:23;82062:6;82039:10;:30::i;:::-;82098:6;82085:20;;;;;;;;;;;;81974:139:::0;:::o;46319:131::-;46393:7;46420:6;:12;46427:4;46420:12;;;;;;;;;;;:22;;;46413:29;;46319:131;;;:::o;84912:127::-;84978:4;81702:31;80903:23;81722:10;81702:7;:31::i;:::-;81680:116;;;;;;;;;;;;:::i;:::-;;;;;;;;;85002:29:::1;80903:23;85022:8;85002:7;:29::i;:::-;84995:36;;84912:127:::0;;;:::o;85047:110::-;85110:7;81702:31;80903:23;81722:10;81702:7;:31::i;:::-;81680:116;;;;;;;;;;;;:::i;:::-;;;;;;;;;85137:6:::1;:12;85144:4;85137:12;;;;;;;;;;;;;;;;85130:19;;85047:110:::0;;;:::o;46760:147::-;46843:18;46856:4;46843:12;:18::i;:::-;44388:16;44399:4;44388:10;:16::i;:::-;46874:25:::1;46885:4;46891:7;46874:10;:25::i;:::-;46760:147:::0;;;:::o;47904:218::-;48011:12;:10;:12::i;:::-;48000:23;;:7;:23;;;47992:83;;;;;;;;;;;;:::i;:::-;;;;;;;;;48088:26;48100:4;48106:7;48088:11;:26::i;:::-;47904:218;;:::o;81824:142::-;81702:31;80903:23;81722:10;81702:7;:31::i;:::-;81680:116;;;;;;;;;;;;:::i;:::-;;;;;;;;;81889:32:::1;80903:23;81911:9;81889;:32::i;:::-;81948:9;81937:21;;;;;;;;;;;;81824:142:::0;:::o;85165:97::-;85219:7;81702:31;80903:23;81722:10;81702:7;:31::i;:::-;81680:116;;;;;;;;;;;;:::i;:::-;;;;;;;;;85246:8:::1;;;;;;;;;;;85239:15;;85165:97:::0;:::o;82713:1187::-;72805:21;:19;:21::i;:::-;82872:1:::1;82862:7;:11;82854:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;82959:7;82941:14;;:25;;82933:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;83046:6;83041:1;83020:6;:18;83027:10;83020:18;;;;;;;;;;;;;;;;:22;;;;:::i;:::-;:32;83012:59;;;;;;;;;;;;:::i;:::-;;;;;;;;;83143:15;83133:6;83104:14;:26;83119:10;83104:26;;;;;;;;;;;;;;;;:35;;;;:::i;:::-;:54;;83082:145;;;;;;;;;;;;:::i;:::-;;;;;;;;;83240:15;83391:10;83403:7;83412:6;83380:39;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;83370:50;;;;;;83282:153;;;;;;;;:::i;:::-;;;;;;;;;;;;;83258:188;;;;;;83240:206;;83459:20;83482:34;83496:7;83505:10;83482:13;:34::i;:::-;83459:57;;83549:33;80903:23;83569:12;83549:7;:33::i;:::-;83527:116;;;;;;;;;;;;:::i;:::-;;;;;;;;;83677:6;83656;:18;83663:10;83656:18;;;;;;;;;;;;;;;:27;;;;83694:39;83713:10;83725:7;83694:5;;;;;;;;;;;:18;;;;:39;;;;;:::i;:::-;83761:27;83780:7;83761:14;;:18;;:27;;;;:::i;:::-;83744:14;:44;;;;83828:15;83799:14;:26;83814:10;83799:26;;;;;;;;;;;;;;;:44;;;;83872:10;83861:31;;;83884:7;83861:31;;;;;;:::i;:::-;;;;;;;;82843:1057;;72849:20:::0;:18;:20::i;:::-;82713:1187;;;:::o;84459:445::-;81702:31;80903:23;81722:10;81702:7;:31::i;:::-;81680:116;;;;;;;;;;;;:::i;:::-;;;;;;;;;72805:21:::1;:19;:21::i;:::-;84558:1:::2;84548:7;:11;84540:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;84675:7;84641:5;;;;;;;;;;;:15;;;84665:4;84641:30;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:41;;84619:121;;;;;;;;;;;;:::i;:::-;;;;;;;;;84753:39;84772:10;84784:7;84753:5;;;;;;;;;;;:18;;;;:39;;;;;:::i;:::-;84820:27;84839:7;84820:14;;:18;;:27;;;;:::i;:::-;84803:14;:44;;;;84876:10;84865:31;;;84888:7;84865:31;;;;;;:::i;:::-;;;;;;;;72849:20:::1;:18;:20::i;:::-;84459:445:::0;:::o;52827:153::-;52917:7;52944:28;52966:5;52944:12;:18;52957:4;52944:18;;;;;;;;;;;:21;;:28;;;;:::i;:::-;52937:35;;52827:153;;;;:::o;44792:147::-;44878:4;44902:6;:12;44909:4;44902:12;;;;;;;;;;;:20;;:29;44923:7;44902:29;;;;;;;;;;;;;;;;;;;;;;;;;44895:36;;44792:147;;;;:::o;43897:49::-;43942:4;43897:49;;;:::o;85534:100::-;85589:7;81702:31;80903:23;81722:10;81702:7;:31::i;:::-;81680:116;;;;;;;;;;;;:::i;:::-;;;;;;;;;80903:23:::1;85609:17;;85534:100:::0;:::o;82121:584::-;72805:21;:19;:21::i;:::-;82204:1:::1;82194:7;:11;82186:65;;;;;;;;;;;;:::i;:::-;;;;;;;;;82315:7;82284:5;;;;;;;;;;;:15;;;82300:10;82284:27;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:38;;82262:109;;;;;;;;;;;;:::i;:::-;;;;;;;;;82450:7;82404:5;;;;;;;;;;;:15;;;82420:10;82440:4;82404:42;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:53;;82382:143;;;;;;;;;;;;:::i;:::-;;;;;;;;;82538:58;82561:10;82581:4;82588:7;82538:5;;;;;;;;;;;:22;;;;:58;;;;;;:::i;:::-;82626:27;82645:7;82626:14;;:18;;:27;;;;:::i;:::-;82609:14;:44;;;;82677:10;82669:28;;;82689:7;82669:28;;;;;;:::i;:::-;;;;;;;;72849:20:::0;:18;:20::i;:::-;82121:584;:::o;53154:142::-;53234:7;53261:27;:12;:18;53274:4;53261:18;;;;;;;;;;;:25;:27::i;:::-;53254:34;;53154:142;;;:::o;47200:149::-;47284:18;47297:4;47284:12;:18::i;:::-;44388:16;44399:4;44388:10;:16::i;:::-;47315:26:::1;47327:4;47333:7;47315:11;:26::i;:::-;47200:149:::0;;;:::o;81403:19::-;;;;;;;;;;;;;:::o;49501:238::-;49585:22;49593:4;49599:7;49585;:22::i;:::-;49580:152;;49656:4;49624:6;:12;49631:4;49624:12;;;;;;;;;;;:20;;:29;49645:7;49624:29;;;;;;;;;;;;;;;;:36;;;;;;;;;;;;;;;;;;49707:12;:10;:12::i;:::-;49680:40;;49698:7;49680:40;;49692:4;49680:40;;;;;;;;;;49580:152;49501:238;;:::o;13797:152::-;13867:4;13891:50;13896:3;:10;;13932:5;13916:23;;13908:32;;13891:4;:50::i;:::-;13884:57;;13797:152;;;;:::o;44496:204::-;44581:4;44620:32;44605:47;;;:11;:47;;;;:87;;;;44656:36;44680:11;44656:23;:36::i;:::-;44605:87;44598:94;;44496:204;;;:::o;45243:105::-;45310:30;45321:4;45327:12;:10;:12::i;:::-;45310:10;:30::i;:::-;45243:105;:::o;53389:169::-;53477:31;53494:4;53500:7;53477:16;:31::i;:::-;53519;53542:7;53519:12;:18;53532:4;53519:18;;;;;;;;;;;:22;;:31;;;;:::i;:::-;;53389:169;;:::o;38537:98::-;38590:7;38617:10;38610:17;;38537:98;:::o;53652:174::-;53741:32;53759:4;53765:7;53741:17;:32::i;:::-;53784:34;53810:7;53784:12;:18;53797:4;53784:18;;;;;;;;;;;:25;;:34;;;;:::i;:::-;;53652:174;;:::o;72885:293::-;72287:1;73019:7;;:19;73011:63;;;;;;;;;;;;:::i;:::-;;;;;;;;;72287:1;73152:7;:18;;;;72885:293::o;83908:543::-;84022:7;84071:2;84050:10;:17;:23;84042:60;;;;;;;;;;;;:::i;:::-;;;;;;;;;84113:9;84133;84153:7;84224:2;84212:10;84208:19;84202:26;84197:31;;84269:2;84257:10;84253:19;84247:26;84242:31;;84322:2;84310:10;84306:19;84300:26;84297:1;84292:35;84287:40;;84358:2;84354:1;:6;;;84350:46;;;84382:2;84377:7;;;;;:::i;:::-;;;84350:46;84415:28;84425:8;84435:1;84438;84441;84415:28;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;84408:35;;;;;83908:543;;;;:::o;64368:177::-;64451:86;64471:5;64501:23;;;64526:2;64530:5;64478:58;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64451:19;:86::i;:::-;64368:177;;;:::o;76957:98::-;77015:7;77046:1;77042;:5;;;;:::i;:::-;77035:12;;76957:98;;;;:::o;73186:213::-;72243:1;73369:7;:22;;;;73186:213::o;15093:158::-;15167:7;15218:22;15222:3;:10;;15234:5;15218:3;:22::i;:::-;15210:31;;15187:56;;15093:158;;;;:::o;64790:205::-;64891:96;64911:5;64941:27;;;64970:4;64976:2;64980:5;64918:68;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64891:19;:96::i;:::-;64790:205;;;;:::o;76576:98::-;76634:7;76665:1;76661;:5;;;;:::i;:::-;76654:12;;76576:98;;;;:::o;14622:117::-;14685:7;14712:19;14720:3;:10;;14712:7;:19::i;:::-;14705:26;;14622:117;;;:::o;7528:414::-;7591:4;7613:21;7623:3;7628:5;7613:9;:21::i;:::-;7608:327;;7651:3;:11;;7668:5;7651:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7834:3;:11;;:18;;;;7812:3;:12;;:19;7825:5;7812:19;;;;;;;;;;;:40;;;;7874:4;7867:11;;;;7608:327;7918:5;7911:12;;7528:414;;;;;:::o;20372:157::-;20457:4;20496:25;20481:40;;;:11;:40;;;;20474:47;;20372:157;;;:::o;45638:492::-;45727:22;45735:4;45741:7;45727;:22::i;:::-;45722:401;;45915:28;45935:7;45915:19;:28::i;:::-;46016:38;46044:4;46036:13;;46051:2;46016:19;:38::i;:::-;45820:257;;;;;;;;;:::i;:::-;;;;;;;;;;;;;45766:345;;;;;;;;;;;:::i;:::-;;;;;;;;45722:401;45638:492;;:::o;49919:239::-;50003:22;50011:4;50017:7;50003;:22::i;:::-;49999:152;;;50074:5;50042:6;:12;50049:4;50042:12;;;;;;;;;;;:20;;:29;50063:7;50042:29;;;;;;;;;;;;;;;;:37;;;;;;;;;;;;;;;;;;50126:12;:10;:12::i;:::-;50099:40;;50117:7;50099:40;;50111:4;50099:40;;;;;;;;;;49999:152;49919:239;;:::o;14125:158::-;14198:4;14222:53;14230:3;:10;;14266:5;14250:23;;14242:32;;14222:7;:53::i;:::-;14215:60;;14125:158;;;;:::o;68691:649::-;69115:23;69141:69;69169:4;69141:69;;;;;;;;;;;;;;;;;69149:5;69141:27;;;;:69;;;;;:::i;:::-;69115:95;;69250:1;69229:10;:17;:22;:56;;;;69266:10;69255:30;;;;;;;;;;;;:::i;:::-;69229:56;69221:111;;;;;;;;;;;;:::i;:::-;;;;;;;;;68761:579;68691:649;;:::o;10302:120::-;10369:7;10396:3;:11;;10408:5;10396:18;;;;;;;;:::i;:::-;;;;;;;;;;10389:25;;10302:120;;;;:::o;9839:109::-;9895:7;9922:3;:11;;:18;;;;9915:25;;9839:109;;;:::o;9624:129::-;9697:4;9744:1;9721:3;:12;;:19;9734:5;9721:19;;;;;;;;;;;;:24;;9714:31;;9624:129;;;;:::o;37472:151::-;37530:13;37563:52;37591:4;37575:22;;35347:2;37563:52;;:11;:52::i;:::-;37556:59;;37472:151;;;:::o;36868:447::-;36943:13;36969:19;37014:1;37005:6;37001:1;:10;;;;:::i;:::-;:14;;;;:::i;:::-;36991:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36969:47;;37027:15;:6;37034:1;37027:9;;;;;;;;:::i;:::-;;;;;:15;;;;;;;;;;;37053;:6;37060:1;37053:9;;;;;;;;:::i;:::-;;;;;:15;;;;;;;;;;;37084:9;37109:1;37100:6;37096:1;:10;;;;:::i;:::-;:14;;;;:::i;:::-;37084:26;;37079:131;37116:1;37112;:5;37079:131;;;37151:8;37168:3;37160:5;:11;37151:21;;;;;;;:::i;:::-;;;;;37139:6;37146:1;37139:9;;;;;;;;:::i;:::-;;;;;:33;;;;;;;;;;;37197:1;37187:11;;;;;37119:3;;;;:::i;:::-;;;37079:131;;;;37237:1;37228:5;:10;37220:55;;;;;;;;;;;;:::i;:::-;;;;;;;;;37300:6;37286:21;;;36868:447;;;;:::o;8118:1420::-;8184:4;8302:18;8323:3;:12;;:19;8336:5;8323:19;;;;;;;;;;;;8302:40;;8373:1;8359:10;:15;8355:1176;;8734:21;8771:1;8758:10;:14;;;;:::i;:::-;8734:38;;8787:17;8828:1;8807:3;:11;;:18;;;;:22;;;;:::i;:::-;8787:42;;8863:13;8850:9;:26;8846:405;;8897:17;8917:3;:11;;8929:9;8917:22;;;;;;;;:::i;:::-;;;;;;;;;;8897:42;;9071:9;9042:3;:11;;9054:13;9042:26;;;;;;;;:::i;:::-;;;;;;;;;:38;;;;9182:10;9156:3;:12;;:23;9169:9;9156:23;;;;;;;;;;;:36;;;;8878:373;8846:405;9332:3;:11;;:17;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;9427:3;:12;;:19;9440:5;9427:19;;;;;;;;;;;9420:26;;;9470:4;9463:11;;;;;;;8355:1176;9514:5;9507:12;;;8118:1420;;;;;:::o;58062:229::-;58199:12;58231:52;58253:6;58261:4;58267:1;58270:12;58231:21;:52::i;:::-;58224:59;;58062:229;;;;;:::o;59148:455::-;59318:12;59376:5;59351:21;:30;;59343:81;;;;;;;;;;;;:::i;:::-;;;;;;;;;59436:12;59450:23;59477:6;:11;;59496:5;59503:4;59477:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59435:73;;;;59526:69;59553:6;59561:7;59570:10;59582:12;59526:26;:69::i;:::-;59519:76;;;;59148:455;;;;;;:::o;61721:644::-;61906:12;61935:7;61931:427;;;61984:1;61963:10;:17;:22;61959:290;;62181:18;62192:6;62181:10;:18::i;:::-;62173:60;;;;;;;;;;;;:::i;:::-;;;;;;;;;61959:290;62270:10;62263:17;;;;61931:427;62313:33;62321:10;62333:12;62313:7;:33::i;:::-;61721:644;;;;;;;:::o;55307:326::-;55367:4;55624:1;55602:7;:19;;;:23;55595:30;;55307:326;;;:::o;62907:552::-;63088:1;63068:10;:17;:21;63064:388;;;63300:10;63294:17;63357:15;63344:10;63340:2;63336:19;63329:44;63064:388;63427:12;63420:20;;;;;;;;;;;:::i;:::-;;;;;;;;7:75:1;40:6;73:2;67:9;57:19;;7:75;:::o;88:117::-;197:1;194;187:12;211:117;320:1;317;310:12;334:126;371:7;411:42;404:5;400:54;389:65;;334:126;;;:::o;466:96::-;503:7;532:24;550:5;532:24;:::i;:::-;521:35;;466:96;;;:::o;568:122::-;641:24;659:5;641:24;:::i;:::-;634:5;631:35;621:63;;680:1;677;670:12;621:63;568:122;:::o;696:139::-;742:5;780:6;767:20;758:29;;796:33;823:5;796:33;:::i;:::-;696:139;;;;:::o;841:329::-;900:6;949:2;937:9;928:7;924:23;920:32;917:119;;;955:79;;:::i;:::-;917:119;1075:1;1100:53;1145:7;1136:6;1125:9;1121:22;1100:53;:::i;:::-;1090:63;;1046:117;841:329;;;;:::o;1176:77::-;1213:7;1242:5;1231:16;;1176:77;;;:::o;1259:118::-;1346:24;1364:5;1346:24;:::i;:::-;1341:3;1334:37;1259:118;;:::o;1383:222::-;1476:4;1514:2;1503:9;1499:18;1491:26;;1527:71;1595:1;1584:9;1580:17;1571:6;1527:71;:::i;:::-;1383:222;;;;:::o;1611:149::-;1647:7;1687:66;1680:5;1676:78;1665:89;;1611:149;;;:::o;1766:120::-;1838:23;1855:5;1838:23;:::i;:::-;1831:5;1828:34;1818:62;;1876:1;1873;1866:12;1818:62;1766:120;:::o;1892:137::-;1937:5;1975:6;1962:20;1953:29;;1991:32;2017:5;1991:32;:::i;:::-;1892:137;;;;:::o;2035:327::-;2093:6;2142:2;2130:9;2121:7;2117:23;2113:32;2110:119;;;2148:79;;:::i;:::-;2110:119;2268:1;2293:52;2337:7;2328:6;2317:9;2313:22;2293:52;:::i;:::-;2283:62;;2239:116;2035:327;;;;:::o;2368:90::-;2402:7;2445:5;2438:13;2431:21;2420:32;;2368:90;;;:::o;2464:109::-;2545:21;2560:5;2545:21;:::i;:::-;2540:3;2533:34;2464:109;;:::o;2579:210::-;2666:4;2704:2;2693:9;2689:18;2681:26;;2717:65;2779:1;2768:9;2764:17;2755:6;2717:65;:::i;:::-;2579:210;;;;:::o;2795:77::-;2832:7;2861:5;2850:16;;2795:77;;;:::o;2878:122::-;2951:24;2969:5;2951:24;:::i;:::-;2944:5;2941:35;2931:63;;2990:1;2987;2980:12;2931:63;2878:122;:::o;3006:139::-;3052:5;3090:6;3077:20;3068:29;;3106:33;3133:5;3106:33;:::i;:::-;3006:139;;;;:::o;3151:329::-;3210:6;3259:2;3247:9;3238:7;3234:23;3230:32;3227:119;;;3265:79;;:::i;:::-;3227:119;3385:1;3410:53;3455:7;3446:6;3435:9;3431:22;3410:53;:::i;:::-;3400:63;;3356:117;3151:329;;;;:::o;3486:118::-;3573:24;3591:5;3573:24;:::i;:::-;3568:3;3561:37;3486:118;;:::o;3610:222::-;3703:4;3741:2;3730:9;3726:18;3718:26;;3754:71;3822:1;3811:9;3807:17;3798:6;3754:71;:::i;:::-;3610:222;;;;:::o;3838:474::-;3906:6;3914;3963:2;3951:9;3942:7;3938:23;3934:32;3931:119;;;3969:79;;:::i;:::-;3931:119;4089:1;4114:53;4159:7;4150:6;4139:9;4135:22;4114:53;:::i;:::-;4104:63;;4060:117;4216:2;4242:53;4287:7;4278:6;4267:9;4263:22;4242:53;:::i;:::-;4232:63;;4187:118;3838:474;;;;;:::o;4318:118::-;4405:24;4423:5;4405:24;:::i;:::-;4400:3;4393:37;4318:118;;:::o;4442:222::-;4535:4;4573:2;4562:9;4558:18;4550:26;;4586:71;4654:1;4643:9;4639:17;4630:6;4586:71;:::i;:::-;4442:222;;;;:::o;4670:122::-;4743:24;4761:5;4743:24;:::i;:::-;4736:5;4733:35;4723:63;;4782:1;4779;4772:12;4723:63;4670:122;:::o;4798:139::-;4844:5;4882:6;4869:20;4860:29;;4898:33;4925:5;4898:33;:::i;:::-;4798:139;;;;:::o;4943:117::-;5052:1;5049;5042:12;5066:117;5175:1;5172;5165:12;5189:102;5230:6;5281:2;5277:7;5272:2;5265:5;5261:14;5257:28;5247:38;;5189:102;;;:::o;5297:180::-;5345:77;5342:1;5335:88;5442:4;5439:1;5432:15;5466:4;5463:1;5456:15;5483:281;5566:27;5588:4;5566:27;:::i;:::-;5558:6;5554:40;5696:6;5684:10;5681:22;5660:18;5648:10;5645:34;5642:62;5639:88;;;5707:18;;:::i;:::-;5639:88;5747:10;5743:2;5736:22;5526:238;5483:281;;:::o;5770:129::-;5804:6;5831:20;;:::i;:::-;5821:30;;5860:33;5888:4;5880:6;5860:33;:::i;:::-;5770:129;;;:::o;5905:307::-;5966:4;6056:18;6048:6;6045:30;6042:56;;;6078:18;;:::i;:::-;6042:56;6116:29;6138:6;6116:29;:::i;:::-;6108:37;;6200:4;6194;6190:15;6182:23;;5905:307;;;:::o;6218:146::-;6315:6;6310:3;6305;6292:30;6356:1;6347:6;6342:3;6338:16;6331:27;6218:146;;;:::o;6370:423::-;6447:5;6472:65;6488:48;6529:6;6488:48;:::i;:::-;6472:65;:::i;:::-;6463:74;;6560:6;6553:5;6546:21;6598:4;6591:5;6587:16;6636:3;6627:6;6622:3;6618:16;6615:25;6612:112;;;6643:79;;:::i;:::-;6612:112;6733:54;6780:6;6775:3;6770;6733:54;:::i;:::-;6453:340;6370:423;;;;;:::o;6812:338::-;6867:5;6916:3;6909:4;6901:6;6897:17;6893:27;6883:122;;6924:79;;:::i;:::-;6883:122;7041:6;7028:20;7066:78;7140:3;7132:6;7125:4;7117:6;7113:17;7066:78;:::i;:::-;7057:87;;6873:277;6812:338;;;;:::o;7156:797::-;7242:6;7250;7258;7307:2;7295:9;7286:7;7282:23;7278:32;7275:119;;;7313:79;;:::i;:::-;7275:119;7433:1;7458:53;7503:7;7494:6;7483:9;7479:22;7458:53;:::i;:::-;7448:63;;7404:117;7560:2;7586:53;7631:7;7622:6;7611:9;7607:22;7586:53;:::i;:::-;7576:63;;7531:118;7716:2;7705:9;7701:18;7688:32;7747:18;7739:6;7736:30;7733:117;;;7769:79;;:::i;:::-;7733:117;7874:62;7928:7;7919:6;7908:9;7904:22;7874:62;:::i;:::-;7864:72;;7659:287;7156:797;;;;;:::o;7959:329::-;8018:6;8067:2;8055:9;8046:7;8042:23;8038:32;8035:119;;;8073:79;;:::i;:::-;8035:119;8193:1;8218:53;8263:7;8254:6;8243:9;8239:22;8218:53;:::i;:::-;8208:63;;8164:117;7959:329;;;;:::o;8294:474::-;8362:6;8370;8419:2;8407:9;8398:7;8394:23;8390:32;8387:119;;;8425:79;;:::i;:::-;8387:119;8545:1;8570:53;8615:7;8606:6;8595:9;8591:22;8570:53;:::i;:::-;8560:63;;8516:117;8672:2;8698:53;8743:7;8734:6;8723:9;8719:22;8698:53;:::i;:::-;8688:63;;8643:118;8294:474;;;;;:::o;8774:60::-;8802:3;8823:5;8816:12;;8774:60;;;:::o;8840:142::-;8890:9;8923:53;8941:34;8950:24;8968:5;8950:24;:::i;:::-;8941:34;:::i;:::-;8923:53;:::i;:::-;8910:66;;8840:142;;;:::o;8988:126::-;9038:9;9071:37;9102:5;9071:37;:::i;:::-;9058:50;;8988:126;;;:::o;9120:140::-;9184:9;9217:37;9248:5;9217:37;:::i;:::-;9204:50;;9120:140;;;:::o;9266:159::-;9367:51;9412:5;9367:51;:::i;:::-;9362:3;9355:64;9266:159;;:::o;9431:250::-;9538:4;9576:2;9565:9;9561:18;9553:26;;9589:85;9671:1;9660:9;9656:17;9647:6;9589:85;:::i;:::-;9431:250;;;;:::o;9687:169::-;9771:11;9805:6;9800:3;9793:19;9845:4;9840:3;9836:14;9821:29;;9687:169;;;;:::o;9862:222::-;10002:34;9998:1;9990:6;9986:14;9979:58;10071:5;10066:2;10058:6;10054:15;10047:30;9862:222;:::o;10090:366::-;10232:3;10253:67;10317:2;10312:3;10253:67;:::i;:::-;10246:74;;10329:93;10418:3;10329:93;:::i;:::-;10447:2;10442:3;10438:12;10431:19;;10090:366;;;:::o;10462:419::-;10628:4;10666:2;10655:9;10651:18;10643:26;;10715:9;10709:4;10705:20;10701:1;10690:9;10686:17;10679:47;10743:131;10869:4;10743:131;:::i;:::-;10735:139;;10462:419;;;:::o;10887:234::-;11027:34;11023:1;11015:6;11011:14;11004:58;11096:17;11091:2;11083:6;11079:15;11072:42;10887:234;:::o;11127:366::-;11269:3;11290:67;11354:2;11349:3;11290:67;:::i;:::-;11283:74;;11366:93;11455:3;11366:93;:::i;:::-;11484:2;11479:3;11475:12;11468:19;;11127:366;;;:::o;11499:419::-;11665:4;11703:2;11692:9;11688:18;11680:26;;11752:9;11746:4;11742:20;11738:1;11727:9;11723:17;11716:47;11780:131;11906:4;11780:131;:::i;:::-;11772:139;;11499:419;;;:::o;11924:231::-;12064:34;12060:1;12052:6;12048:14;12041:58;12133:14;12128:2;12120:6;12116:15;12109:39;11924:231;:::o;12161:366::-;12303:3;12324:67;12388:2;12383:3;12324:67;:::i;:::-;12317:74;;12400:93;12489:3;12400:93;:::i;:::-;12518:2;12513:3;12509:12;12502:19;;12161:366;;;:::o;12533:419::-;12699:4;12737:2;12726:9;12722:18;12714:26;;12786:9;12780:4;12776:20;12772:1;12761:9;12757:17;12750:47;12814:131;12940:4;12814:131;:::i;:::-;12806:139;;12533:419;;;:::o;12958:180::-;13098:32;13094:1;13086:6;13082:14;13075:56;12958:180;:::o;13144:366::-;13286:3;13307:67;13371:2;13366:3;13307:67;:::i;:::-;13300:74;;13383:93;13472:3;13383:93;:::i;:::-;13501:2;13496:3;13492:12;13485:19;;13144:366;;;:::o;13516:419::-;13682:4;13720:2;13709:9;13705:18;13697:26;;13769:9;13763:4;13759:20;13755:1;13744:9;13740:17;13733:47;13797:131;13923:4;13797:131;:::i;:::-;13789:139;;13516:419;;;:::o;13941:180::-;13989:77;13986:1;13979:88;14086:4;14083:1;14076:15;14110:4;14107:1;14100:15;14127:191;14167:3;14186:20;14204:1;14186:20;:::i;:::-;14181:25;;14220:20;14238:1;14220:20;:::i;:::-;14215:25;;14263:1;14260;14256:9;14249:16;;14284:3;14281:1;14278:10;14275:36;;;14291:18;;:::i;:::-;14275:36;14127:191;;;;:::o;14324:164::-;14464:16;14460:1;14452:6;14448:14;14441:40;14324:164;:::o;14494:366::-;14636:3;14657:67;14721:2;14716:3;14657:67;:::i;:::-;14650:74;;14733:93;14822:3;14733:93;:::i;:::-;14851:2;14846:3;14842:12;14835:19;;14494:366;;;:::o;14866:419::-;15032:4;15070:2;15059:9;15055:18;15047:26;;15119:9;15113:4;15109:20;15105:1;15094:9;15090:17;15083:47;15147:131;15273:4;15147:131;:::i;:::-;15139:139;;14866:419;;;:::o;15291:228::-;15431:34;15427:1;15419:6;15415:14;15408:58;15500:11;15495:2;15487:6;15483:15;15476:36;15291:228;:::o;15525:366::-;15667:3;15688:67;15752:2;15747:3;15688:67;:::i;:::-;15681:74;;15764:93;15853:3;15764:93;:::i;:::-;15882:2;15877:3;15873:12;15866:19;;15525:366;;;:::o;15897:419::-;16063:4;16101:2;16090:9;16086:18;16078:26;;16150:9;16144:4;16140:20;16136:1;16125:9;16121:17;16114:47;16178:131;16304:4;16178:131;:::i;:::-;16170:139;;15897:419;;;:::o;16322:442::-;16471:4;16509:2;16498:9;16494:18;16486:26;;16522:71;16590:1;16579:9;16575:17;16566:6;16522:71;:::i;:::-;16603:72;16671:2;16660:9;16656:18;16647:6;16603:72;:::i;:::-;16685;16753:2;16742:9;16738:18;16729:6;16685:72;:::i;:::-;16322:442;;;;;;:::o;16770:148::-;16872:11;16909:3;16894:18;;16770:148;;;;:::o;16924:214::-;17064:66;17060:1;17052:6;17048:14;17041:90;16924:214;:::o;17144:402::-;17304:3;17325:85;17407:2;17402:3;17325:85;:::i;:::-;17318:92;;17419:93;17508:3;17419:93;:::i;:::-;17537:2;17532:3;17528:12;17521:19;;17144:402;;;:::o;17552:79::-;17591:7;17620:5;17609:16;;17552:79;;;:::o;17637:157::-;17742:45;17762:24;17780:5;17762:24;:::i;:::-;17742:45;:::i;:::-;17737:3;17730:58;17637:157;;:::o;17800:522::-;18013:3;18035:148;18179:3;18035:148;:::i;:::-;18028:155;;18193:75;18264:3;18255:6;18193:75;:::i;:::-;18293:2;18288:3;18284:12;18277:19;;18313:3;18306:10;;17800:522;;;;:::o;18328:220::-;18468:34;18464:1;18456:6;18452:14;18445:58;18537:3;18532:2;18524:6;18520:15;18513:28;18328:220;:::o;18554:366::-;18696:3;18717:67;18781:2;18776:3;18717:67;:::i;:::-;18710:74;;18793:93;18882:3;18793:93;:::i;:::-;18911:2;18906:3;18902:12;18895:19;;18554:366;;;:::o;18926:419::-;19092:4;19130:2;19119:9;19115:18;19107:26;;19179:9;19173:4;19169:20;19165:1;19154:9;19150:17;19143:47;19207:131;19333:4;19207:131;:::i;:::-;19199:139;;18926:419;;;:::o;19351:143::-;19408:5;19439:6;19433:13;19424:22;;19455:33;19482:5;19455:33;:::i;:::-;19351:143;;;;:::o;19500:351::-;19570:6;19619:2;19607:9;19598:7;19594:23;19590:32;19587:119;;;19625:79;;:::i;:::-;19587:119;19745:1;19770:64;19826:7;19817:6;19806:9;19802:22;19770:64;:::i;:::-;19760:74;;19716:128;19500:351;;;;:::o;19857:228::-;19997:34;19993:1;19985:6;19981:14;19974:58;20066:11;20061:2;20053:6;20049:15;20042:36;19857:228;:::o;20091:366::-;20233:3;20254:67;20318:2;20313:3;20254:67;:::i;:::-;20247:74;;20330:93;20419:3;20330:93;:::i;:::-;20448:2;20443:3;20439:12;20432:19;;20091:366;;;:::o;20463:419::-;20629:4;20667:2;20656:9;20652:18;20644:26;;20716:9;20710:4;20706:20;20702:1;20691:9;20687:17;20680:47;20744:131;20870:4;20744:131;:::i;:::-;20736:139;;20463:419;;;:::o;20888:171::-;21028:23;21024:1;21016:6;21012:14;21005:47;20888:171;:::o;21065:366::-;21207:3;21228:67;21292:2;21287:3;21228:67;:::i;:::-;21221:74;;21304:93;21393:3;21304:93;:::i;:::-;21422:2;21417:3;21413:12;21406:19;;21065:366;;;:::o;21437:419::-;21603:4;21641:2;21630:9;21626:18;21618:26;;21690:9;21684:4;21680:20;21676:1;21665:9;21661:17;21654:47;21718:131;21844:4;21718:131;:::i;:::-;21710:139;;21437:419;;;:::o;21862:332::-;21983:4;22021:2;22010:9;22006:18;21998:26;;22034:71;22102:1;22091:9;22087:17;22078:6;22034:71;:::i;:::-;22115:72;22183:2;22172:9;22168:18;22159:6;22115:72;:::i;:::-;21862:332;;;;;:::o;22200:227::-;22340:34;22336:1;22328:6;22324:14;22317:58;22409:10;22404:2;22396:6;22392:15;22385:35;22200:227;:::o;22433:366::-;22575:3;22596:67;22660:2;22655:3;22596:67;:::i;:::-;22589:74;;22672:93;22761:3;22672:93;:::i;:::-;22790:2;22785:3;22781:12;22774:19;;22433:366;;;:::o;22805:419::-;22971:4;23009:2;22998:9;22994:18;22986:26;;23058:9;23052:4;23048:20;23044:1;23033:9;23029:17;23022:47;23086:131;23212:4;23086:131;:::i;:::-;23078:139;;22805:419;;;:::o;23230:181::-;23370:33;23366:1;23358:6;23354:14;23347:57;23230:181;:::o;23417:366::-;23559:3;23580:67;23644:2;23639:3;23580:67;:::i;:::-;23573:74;;23656:93;23745:3;23656:93;:::i;:::-;23774:2;23769:3;23765:12;23758:19;;23417:366;;;:::o;23789:419::-;23955:4;23993:2;23982:9;23978:18;23970:26;;24042:9;24036:4;24032:20;24028:1;24017:9;24013:17;24006:47;24070:131;24196:4;24070:131;:::i;:::-;24062:139;;23789:419;;;:::o;24214:174::-;24354:26;24350:1;24342:6;24338:14;24331:50;24214:174;:::o;24394:366::-;24536:3;24557:67;24621:2;24616:3;24557:67;:::i;:::-;24550:74;;24633:93;24722:3;24633:93;:::i;:::-;24751:2;24746:3;24742:12;24735:19;;24394:366;;;:::o;24766:419::-;24932:4;24970:2;24959:9;24955:18;24947:26;;25019:9;25013:4;25009:20;25005:1;24994:9;24990:17;24983:47;25047:131;25173:4;25047:131;:::i;:::-;25039:139;;24766:419;;;:::o;25191:86::-;25226:7;25266:4;25259:5;25255:16;25244:27;;25191:86;;;:::o;25283:188::-;25321:3;25340:18;25356:1;25340:18;:::i;:::-;25335:23;;25372:18;25388:1;25372:18;:::i;:::-;25367:23;;25413:1;25410;25406:9;25399:16;;25436:4;25431:3;25428:13;25425:39;;;25444:18;;:::i;:::-;25425:39;25283:188;;;;:::o;25477:112::-;25560:22;25576:5;25560:22;:::i;:::-;25555:3;25548:35;25477:112;;:::o;25595:545::-;25768:4;25806:3;25795:9;25791:19;25783:27;;25820:71;25888:1;25877:9;25873:17;25864:6;25820:71;:::i;:::-;25901:68;25965:2;25954:9;25950:18;25941:6;25901:68;:::i;:::-;25979:72;26047:2;26036:9;26032:18;26023:6;25979:72;:::i;:::-;26061;26129:2;26118:9;26114:18;26105:6;26061:72;:::i;:::-;25595:545;;;;;;;:::o;26146:332::-;26267:4;26305:2;26294:9;26290:18;26282:26;;26318:71;26386:1;26375:9;26371:17;26362:6;26318:71;:::i;:::-;26399:72;26467:2;26456:9;26452:18;26443:6;26399:72;:::i;:::-;26146:332;;;;;:::o;26484:194::-;26524:4;26544:20;26562:1;26544:20;:::i;:::-;26539:25;;26578:20;26596:1;26578:20;:::i;:::-;26573:25;;26622:1;26619;26615:9;26607:17;;26646:1;26640:4;26637:11;26634:37;;;26651:18;;:::i;:::-;26634:37;26484:194;;;;:::o;26684:442::-;26833:4;26871:2;26860:9;26856:18;26848:26;;26884:71;26952:1;26941:9;26937:17;26928:6;26884:71;:::i;:::-;26965:72;27033:2;27022:9;27018:18;27009:6;26965:72;:::i;:::-;27047;27115:2;27104:9;27100:18;27091:6;27047:72;:::i;:::-;26684:442;;;;;;:::o;27132:173::-;27272:25;27268:1;27260:6;27256:14;27249:49;27132:173;:::o;27311:402::-;27471:3;27492:85;27574:2;27569:3;27492:85;:::i;:::-;27485:92;;27586:93;27675:3;27586:93;:::i;:::-;27704:2;27699:3;27695:12;27688:19;;27311:402;;;:::o;27719:99::-;27771:6;27805:5;27799:12;27789:22;;27719:99;;;:::o;27824:246::-;27905:1;27915:113;27929:6;27926:1;27923:13;27915:113;;;28014:1;28009:3;28005:11;27999:18;27995:1;27990:3;27986:11;27979:39;27951:2;27948:1;27944:10;27939:15;;27915:113;;;28062:1;28053:6;28048:3;28044:16;28037:27;27886:184;27824:246;;;:::o;28076:390::-;28182:3;28210:39;28243:5;28210:39;:::i;:::-;28265:89;28347:6;28342:3;28265:89;:::i;:::-;28258:96;;28363:65;28421:6;28416:3;28409:4;28402:5;28398:16;28363:65;:::i;:::-;28453:6;28448:3;28444:16;28437:23;;28186:280;28076:390;;;;:::o;28472:167::-;28612:19;28608:1;28600:6;28596:14;28589:43;28472:167;:::o;28645:402::-;28805:3;28826:85;28908:2;28903:3;28826:85;:::i;:::-;28819:92;;28920:93;29009:3;28920:93;:::i;:::-;29038:2;29033:3;29029:12;29022:19;;28645:402;;;:::o;29053:967::-;29435:3;29457:148;29601:3;29457:148;:::i;:::-;29450:155;;29622:95;29713:3;29704:6;29622:95;:::i;:::-;29615:102;;29734:148;29878:3;29734:148;:::i;:::-;29727:155;;29899:95;29990:3;29981:6;29899:95;:::i;:::-;29892:102;;30011:3;30004:10;;29053:967;;;;;:::o;30026:377::-;30114:3;30142:39;30175:5;30142:39;:::i;:::-;30197:71;30261:6;30256:3;30197:71;:::i;:::-;30190:78;;30277:65;30335:6;30330:3;30323:4;30316:5;30312:16;30277:65;:::i;:::-;30367:29;30389:6;30367:29;:::i;:::-;30362:3;30358:39;30351:46;;30118:285;30026:377;;;;:::o;30409:313::-;30522:4;30560:2;30549:9;30545:18;30537:26;;30609:9;30603:4;30599:20;30595:1;30584:9;30580:17;30573:47;30637:78;30710:4;30701:6;30637:78;:::i;:::-;30629:86;;30409:313;;;;:::o;30728:116::-;30798:21;30813:5;30798:21;:::i;:::-;30791:5;30788:32;30778:60;;30834:1;30831;30824:12;30778:60;30728:116;:::o;30850:137::-;30904:5;30935:6;30929:13;30920:22;;30951:30;30975:5;30951:30;:::i;:::-;30850:137;;;;:::o;30993:345::-;31060:6;31109:2;31097:9;31088:7;31084:23;31080:32;31077:119;;;31115:79;;:::i;:::-;31077:119;31235:1;31260:61;31313:7;31304:6;31293:9;31289:22;31260:61;:::i;:::-;31250:71;;31206:125;30993:345;;;;:::o;31344:229::-;31484:34;31480:1;31472:6;31468:14;31461:58;31553:12;31548:2;31540:6;31536:15;31529:37;31344:229;:::o;31579:366::-;31721:3;31742:67;31806:2;31801:3;31742:67;:::i;:::-;31735:74;;31818:93;31907:3;31818:93;:::i;:::-;31936:2;31931:3;31927:12;31920:19;;31579:366;;;:::o;31951:419::-;32117:4;32155:2;32144:9;32140:18;32132:26;;32204:9;32198:4;32194:20;32190:1;32179:9;32175:17;32168:47;32232:131;32358:4;32232:131;:::i;:::-;32224:139;;31951:419;;;:::o;32376:180::-;32424:77;32421:1;32414:88;32521:4;32518:1;32511:15;32545:4;32542:1;32535:15;32562:410;32602:7;32625:20;32643:1;32625:20;:::i;:::-;32620:25;;32659:20;32677:1;32659:20;:::i;:::-;32654:25;;32714:1;32711;32707:9;32736:30;32754:11;32736:30;:::i;:::-;32725:41;;32915:1;32906:7;32902:15;32899:1;32896:22;32876:1;32869:9;32849:83;32826:139;;32945:18;;:::i;:::-;32826:139;32610:362;32562:410;;;;:::o;32978:171::-;33017:3;33040:24;33058:5;33040:24;:::i;:::-;33031:33;;33086:4;33079:5;33076:15;33073:41;;33094:18;;:::i;:::-;33073:41;33141:1;33134:5;33130:13;33123:20;;32978:171;;;:::o;33155:182::-;33295:34;33291:1;33283:6;33279:14;33272:58;33155:182;:::o;33343:366::-;33485:3;33506:67;33570:2;33565:3;33506:67;:::i;:::-;33499:74;;33582:93;33671:3;33582:93;:::i;:::-;33700:2;33695:3;33691:12;33684:19;;33343:366;;;:::o;33715:419::-;33881:4;33919:2;33908:9;33904:18;33896:26;;33968:9;33962:4;33958:20;33954:1;33943:9;33939:17;33932:47;33996:131;34122:4;33996:131;:::i;:::-;33988:139;;33715:419;;;:::o;34140:180::-;34188:77;34185:1;34178:88;34285:4;34282:1;34275:15;34309:4;34306:1;34299:15;34326:225;34466:34;34462:1;34454:6;34450:14;34443:58;34535:8;34530:2;34522:6;34518:15;34511:33;34326:225;:::o;34557:366::-;34699:3;34720:67;34784:2;34779:3;34720:67;:::i;:::-;34713:74;;34796:93;34885:3;34796:93;:::i;:::-;34914:2;34909:3;34905:12;34898:19;;34557:366;;;:::o;34929:419::-;35095:4;35133:2;35122:9;35118:18;35110:26;;35182:9;35176:4;35172:20;35168:1;35157:9;35153:17;35146:47;35210:131;35336:4;35210:131;:::i;:::-;35202:139;;34929:419;;;:::o;35354:98::-;35405:6;35439:5;35433:12;35423:22;;35354:98;;;:::o;35458:147::-;35559:11;35596:3;35581:18;;35458:147;;;;:::o;35611:386::-;35715:3;35743:38;35775:5;35743:38;:::i;:::-;35797:88;35878:6;35873:3;35797:88;:::i;:::-;35790:95;;35894:65;35952:6;35947:3;35940:4;35933:5;35929:16;35894:65;:::i;:::-;35984:6;35979:3;35975:16;35968:23;;35719:278;35611:386;;;;:::o;36003:271::-;36133:3;36155:93;36244:3;36235:6;36155:93;:::i;:::-;36148:100;;36265:3;36258:10;;36003:271;;;;:::o;36280:179::-;36420:31;36416:1;36408:6;36404:14;36397:55;36280:179;:::o;36465:366::-;36607:3;36628:67;36692:2;36687:3;36628:67;:::i;:::-;36621:74;;36704:93;36793:3;36704:93;:::i;:::-;36822:2;36817:3;36813:12;36806:19;;36465:366;;;:::o;36837:419::-;37003:4;37041:2;37030:9;37026:18;37018:26;;37090:9;37084:4;37080:20;37076:1;37065:9;37061:17;37054:47;37118:131;37244:4;37118:131;:::i;:::-;37110:139;;36837:419;;;:::o

Swarm Source

ipfs://fd3361376e861916e590ed26d40ef612b1ca38f6c52e3c69301366e8322b9a82

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.