Contract 0x26942eb6d555e5bd72c3fb51fb6f761224581a2e

Contract Overview

Balance:
0 AVAX

AVAX Value:
$0.00

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xfad048aef01e6a298259798dfbea478441f4e910735d6b128b232a22c48e9d5aClaim Many From ...185117132022-08-11 16:55:3919 hrs 20 mins ago0x61974d3e606247840af63b6f68f4bfa972c03b72 IN  0x26942eb6d555e5bd72c3fb51fb6f761224581a2e0 AVAX0.‍012114765 32.‍5
0xf94a88d6e9b679d0850a8e8d0a89890c8ef4d8f85150bbc4481fad3cffd7fcdbClaim Many From ...185042822022-08-11 12:46:4623 hrs 29 mins ago0x0082cb2ccca9f537fa41269680cbd94ef814673d IN  0x26942eb6d555e5bd72c3fb51fb6f761224581a2e0 AVAX0.‍011311722532.‍5
0x61b3cc13739da0c956b709f636b4ad3b7743b57ee6c06510b90b0a37c3b369bdClaim Barn Rewar...185011862022-08-11 11:03:281 day 1 hr ago0x1325a694f22f9fd4fb67e838f46bac28d744aa7a IN  0x26942eb6d555e5bd72c3fb51fb6f761224581a2e0 AVAX0.‍003390595 32.‍5
0xf39e220ee481a6d6105b8e3f5d736ed875aaacc94b3ec37a28af282cfd6812bbClaim Many From ...184799352022-08-10 23:10:531 day 13 hrs ago0x2d7b286b95227f174b24f0c37e5d833236f10dfb IN  0x26942eb6d555e5bd72c3fb51fb6f761224581a2e0 AVAX0.‍0105739725 32.‍5
0x9c083e490e4eda29f2f11448ac96bd75dfd83907ef9656d027ec8adba8717d09Claim Many From ...184727212022-08-10 19:08:551 day 17 hrs ago0x81ee81d3b0c5cde09ec85a442f9218ca34fcc9ae IN  0x26942eb6d555e5bd72c3fb51fb6f761224581a2e0 AVAX0.‍0072001830
0x9fa166c016b66cd61fc58a9fade7958893e3f762e05957293ab8b2122ff82cd5Claim Many From ...184684932022-08-10 16:47:141 day 19 hrs ago0x26672765c04c1dc3cc3290a79d8550a7993d785c IN  0x26942eb6d555e5bd72c3fb51fb6f761224581a2e0 AVAX0.‍018005195 32.‍5
0x123ff541f896b409d4e946b45991934ce95d5b76a69240f4b261e9c4df9dfd66Claim Many From ...184683802022-08-10 16:43:281 day 19 hrs ago0x9e4857b0b84c2e08cc44c43e5ed3b17f8812d2dc IN  0x26942eb6d555e5bd72c3fb51fb6f761224581a2e0 AVAX0.‍007397 32.‍5
0x66928de73a7a405197764286897b55f8540f8a643c6c587eda0f98e400695b6bClaim Pack Rewar...184671022022-08-10 16:00:351 day 20 hrs ago0xc516859e46ffd839fa3aca7c44513ce71d8b55c7 IN  0x26942eb6d555e5bd72c3fb51fb6f761224581a2e0 AVAX0.‍0031803525 32.‍5
0x4a1aec92a23c286ab9ac271f9be3f5a8c0bbd4d5936839971d11c54e31e72516Claim Barn Rewar...184636872022-08-10 14:06:091 day 22 hrs ago0x69ebbf3794e76fc1ffc7021d0b2ee5313bad2aaf IN  0x26942eb6d555e5bd72c3fb51fb6f761224581a2e0 AVAX0.‍003855345 32.‍5
0x6d1dbbd155a00794673f415d7ef6f00a47364f1e8ce3715c099e4990673abe8bClaim Many From ...184635492022-08-10 14:01:331 day 22 hrs ago0x69ebbf3794e76fc1ffc7021d0b2ee5313bad2aaf IN  0x26942eb6d555e5bd72c3fb51fb6f761224581a2e0 AVAX0.‍0113117225 32.‍5
0x86490374c21c80ff132db2b374ee91207f2b53efcdae79a20d8247fc037bc017Claim Pack Rewar...184536822022-08-10 8:32:292 days 3 hrs ago0xee145ea51813901a69a265c44345ce0d85979271 IN  0x26942eb6d555e5bd72c3fb51fb6f761224581a2e0 AVAX0.‍0036451025 32.‍5
0x4622d1ea53384c46532b6ca8aaf289037a087e9f4a7fc6580c69a2d8ba826a58Claim Many From ...184536672022-08-10 8:31:592 days 3 hrs ago0xee145ea51813901a69a265c44345ce0d85979271 IN  0x26942eb6d555e5bd72c3fb51fb6f761224581a2e0 AVAX0.‍0099272225 32.‍5
0x63780cc59214e1be232d5659362804bd771b6ce91c8681e72024e10396b023a0Claim Many From ...184536512022-08-10 8:31:272 days 3 hrs ago0xee145ea51813901a69a265c44345ce0d85979271 IN  0x26942eb6d555e5bd72c3fb51fb6f761224581a2e0 AVAX0.‍0417111825 32.‍5
0xebe9fbe0ee62272e3d30adfc9f893b337c1786bc7c913364792071ea493e5ccbClaim Many From ...184536252022-08-10 8:30:342 days 3 hrs ago0xee145ea51813901a69a265c44345ce0d85979271 IN  0x26942eb6d555e5bd72c3fb51fb6f761224581a2e0 AVAX0.‍0417115725 32.‍5
0x31fed7cd35317660f14c992137ec91df388b347e1cbd8261dd979b056e44184dClaim Many From ...184535792022-08-10 8:29:022 days 3 hrs ago0xee145ea51813901a69a265c44345ce0d85979271 IN  0x26942eb6d555e5bd72c3fb51fb6f761224581a2e0 AVAX0.‍0416400725 32.‍5
0x3d83cfeef73ffa4a4d4adeb971b7c4c15c5c47099061d353eb590e1ac5888dcbClaim Many From ...184535352022-08-10 8:27:332 days 3 hrs ago0xee145ea51813901a69a265c44345ce0d85979271 IN  0x26942eb6d555e5bd72c3fb51fb6f761224581a2e0 AVAX0.‍044073315 32.‍5
0x9a991861d59fda9d66b42203c4384cef0561b705d33a3215fdb46bdd5854863bClaim Many From ...184477792022-08-10 5:13:572 days 7 hrs ago0x7139843c8a876db8dc09c034aacf415992efb538 IN  0x26942eb6d555e5bd72c3fb51fb6f761224581a2e0 AVAX0.‍0169286975 32.‍5
0xaee0e200b5df57ac10fd20001aac86a230f137f2aa5666fc2a2645e44f5dfb8eClaim Pack Rewar...184453722022-08-10 3:52:572 days 8 hrs ago0xcba73a9bf940bf7a7816f8c550308c4165cc2613 IN  0x26942eb6d555e5bd72c3fb51fb6f761224581a2e0 AVAX0.‍0031803525 32.‍5
0xcf1b597c67bd2ed20349de6ed3a0b5f2af881eae988de39c38013da8d0226af9Claim Barn Rewar...184453622022-08-10 3:52:362 days 8 hrs ago0xcba73a9bf940bf7a7816f8c550308c4165cc2613 IN  0x26942eb6d555e5bd72c3fb51fb6f761224581a2e0 AVAX0.‍003855345 32.‍5
0xa377a7f9f8a5e12ec0838db98252b40a5741769d271fd30765447e1101aa415eClaim Many From ...184453482022-08-10 3:52:082 days 8 hrs ago0xcba73a9bf940bf7a7816f8c550308c4165cc2613 IN  0x26942eb6d555e5bd72c3fb51fb6f761224581a2e0 AVAX0.‍00675025 32.‍5
0x1badace775336d7ed8d4e8b0ab3f1f9eca9b88d07fa2fa475b423d2fb1809469Claim Many From ...184453212022-08-10 3:51:142 days 8 hrs ago0xcba73a9bf940bf7a7816f8c550308c4165cc2613 IN  0x26942eb6d555e5bd72c3fb51fb6f761224581a2e0 AVAX0.‍11471408 32.‍5
0xd98567c90a4a8ee43cee312c0a093f7b6116f9eec12fe933e1095bdb0fa9d5dcClaim Many From ...184418322022-08-10 1:54:042 days 10 hrs ago0xa4ef34b2e77d4f5c44525d7bfc41e819ae55184e IN  0x26942eb6d555e5bd72c3fb51fb6f761224581a2e0 AVAX0.‍01009353729
0xc01ca5147e8c2ddc0019c7e9a65f864bf30cc20f91e293b5e701564598bc4577Claim Pack Rewar...184417852022-08-10 1:52:302 days 10 hrs ago0xb03442a34aaf81a34cbfb321363213d29e94a637 IN  0x26942eb6d555e5bd72c3fb51fb6f761224581a2e0 AVAX0.‍0031803525 32.‍5
0x9dc941275ad76d47c34624d80ea1abe2343348229a19233362c5e31e680ad24fClaim Barn Rewar...184417642022-08-10 1:51:482 days 10 hrs ago0xb03442a34aaf81a34cbfb321363213d29e94a637 IN  0x26942eb6d555e5bd72c3fb51fb6f761224581a2e0 AVAX0.‍003390595 32.‍5
0xcb47401d30d45ff7e79649c78b43904f1d79313c2a820447f3e3c0d784943c44Claim Many From ...184398782022-08-10 0:48:282 days 11 hrs ago0x82efa90e1341c57ff7f095ec55681b1ff6e821a7 IN  0x26942eb6d555e5bd72c3fb51fb6f761224581a2e0 AVAX0.‍04348968 32.‍5
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
InitialNFTPool

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at snowtrace.io on 2022-08-03
*/

// File: gladiator-finance-contracts/contracts/interfaces/IBasisAsset.sol



pragma solidity ^0.8.0;

interface IBasisAsset {
    function mint(address recipient, uint256 amount) external returns (bool);

    function burn(uint256 amount) external;

    function burnFrom(address from, uint256 amount) external;

    function isOperator() external returns (bool);

    function operator() external view returns (address);

    function transferOperator(address newOperator_) external;
}

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


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

pragma solidity ^0.8.0;

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

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

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

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


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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_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) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

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

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


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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    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");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

// 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/interfaces/IERC2981.sol


// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;


/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

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


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

pragma solidity ^0.8.0;


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

// File: @openzeppelin/contracts/token/common/ERC2981.sol


// OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;



/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

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

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

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


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

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;


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

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

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

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


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

pragma solidity ^0.8.0;


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

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

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

// File: gladiator-finance-contracts/contracts/IWhitelist.sol



pragma solidity 0.8.9;

interface IWhitelist {
    // total size of the whitelist
    function wlSize() external view returns (uint256);
    // max number of wl spot sales
    function maxSpots() external view returns (uint256);
    // price of the WL spot
    function spotPrice() external view returns (uint256);
    // number of wl spots sold
    function spotCount() external view returns (uint256);
    // glad/wl sale has started
    function started() external view returns (bool);
    // wl sale has ended
    function wlEnded() external view returns (bool);
    // glad sale has ended
    function gladEnded() external view returns (bool);
    // total glad sold (wl included)
    function totalPGlad() external view returns (uint256);
    // total whitelisted glad sold
    function totalPGladWl() external view returns (uint256);

    // minimum glad amount buyable
    function minGladBuy() external view returns (uint256);
    // max glad that a whitelisted can buy @ discounted price
    function maxWlAmount() external view returns (uint256);

    // pglad sale price (for 100 units, so 30 means 0.3 avax / pglad)
    function pGladPrice() external view returns (uint256);
    // pglad wl sale price (for 100 units, so 20 means 0.2 avax / pglad)
    function pGladWlPrice() external view returns (uint256);

    // get the amount of pglad purchased by user (wl buys included)
    function pGlad(address _a) external view returns (uint256);
    // get the amount of wl plgad purchased
    function pGladWl(address _a) external view returns (uint256);

    // buy whitelist spot, avax value must be sent with transaction
    function buyWhitelistSpot() external payable;

    // buy pglad, avax value must be sent with transaction
    function buyPGlad(uint256 _amount) external payable;

    // check if an address is whitelisted
    function isWhitelisted(address _a) external view returns (bool);
}

// File: gladiator-finance-contracts/contracts/glad_core/roman_nft/IPreyPredator.sol


pragma solidity ^0.8.0;

interface IPreyPredator {
    event TokenTraitsUpdated(uint256 tokenId, PreyPredator traits);
    // struct to store each token's traits
    struct PreyPredator {
        bool isPrey;
        uint8 environment;
        uint8 body;
        uint8 armor;
        uint8 helmet;
        uint8 shoes;
        uint8 shield;
        uint8 weapon;
        uint8 item;
        uint8 alphaIndex;
        uint64 generation;
        uint8 agility;
        uint8 charisma;
        uint8 damage;
        uint8 defense;
        uint8 dexterity;
        uint8 health;
        uint8 intelligence;
        uint8 luck;
        uint8 strength;
    }

    function traitsRevealed(uint256 tokenId) external view returns (bool);

    function getTokenTraits(uint256 tokenId)
        external
        view
        returns (PreyPredator memory);

    function mintUnderpeg(
        address to,
        uint256 amount,
        uint256 price
    ) external;

    function increaseGeneration() external;

    function currentGeneration() external view returns (uint8);

    function getGenTokens(uint8 generation) external view returns (uint256);

    function mintedPrice(uint256 tokenId) external view returns (uint256);
}

// File: gladiator-finance-contracts/contracts/glad_core/roman_nft/ITraits.sol



pragma solidity ^0.8.0;

interface ITraits {
    function tokenURI(uint256 tokenId) external view returns (string memory);
}
// File: gladiator-finance-contracts/contracts/glad_core/roman_nft/IEntropy.sol


pragma solidity ^0.8.0;

interface IEntropy {
    function random(uint256 seed) external view returns (uint256);
}
// File: gladiator-finance-contracts/contracts/glad_core/roman_nft/IPool.sol



pragma solidity =0.8.9;

interface IPool {
    // struct to store a stake's token, owner, and earning values
    struct Stake {
        uint64 tokenId;
        address owner;
    }

    struct UserStake {
        uint80 lastTimestamp;
        uint64 preyStaked;
        uint64 predatorsStaked;
        // barn staking
        uint256 lastRewardPerPrey;
        uint256 claimableBarnReward;
        // pack staking
        uint256 claimablePackReward;
        uint256 stakedAlpha;
        uint256 lastRewardPerAlpha;
    }

    function addManyToPool(uint64[] calldata tokenIds) external;

    function claimManyFromPool(uint64[] calldata tokenIds) external;

    function getUserStake(address userid)
        external
        view
        returns (UserStake memory);

    function getRandomPredatorOwner(uint256 seed)
        external
        view
        returns (address);

    function getRandomPreyOwner(uint256 seed) external view returns (address);

    function getRandomPredatorStake(uint256 seed)
        external
        view
        returns (Stake memory);

    function getRandomPreyStake(uint256 seed)
        external
        view
        returns (Stake memory);
}

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


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

pragma solidity ^0.8.0;

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

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


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

pragma solidity ^0.8.0;








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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        _requireMinted(tokenId);

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

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

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

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

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


// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/extensions/ERC721Burnable.sol)

pragma solidity ^0.8.0;



/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be burned (destroyed).
 */
abstract contract ERC721Burnable is Context, ERC721 {
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved");
        _burn(tokenId);
    }
}

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


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

pragma solidity ^0.8.0;




/**
 * @dev Extension of ERC721 with the ERC2981 NFT Royalty Standard, a standardized way to retrieve royalty payment
 * information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC721Royalty is ERC2981, ERC721 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, ERC2981) returns (bool) {
        return super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {ERC721-_burn}. This override additionally clears the royalty information for the token.
     */
    function _burn(uint256 tokenId) internal virtual override {
        super._burn(tokenId);
        _resetTokenRoyalty(tokenId);
    }
}

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


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

pragma solidity ^0.8.0;



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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;


/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

// File: gladiator-finance-contracts/contracts/owner/Blacklistable.sol



pragma solidity ^0.8.0;



contract Blacklistable is Context, Ownable {
    mapping(address => bool) private _blacklisted;

    modifier checkBlacklist(address account) {
        require(!_blacklisted[account], "Blacklistable: caller is blacklisted");
        _;
    }

    function isBlacklisted(address account) public view returns (bool) {
        return _blacklisted[account];
    }

    function addToBlacklist(address[] memory accounts) public onlyOwner {
        uint256 length = accounts.length;
        for (uint256 i; i < length; i++) {
            _blacklisted[accounts[i]] = true;
        }
    }

    function removeFromBlacklist(address[] memory accounts) public onlyOwner {
        uint256 length = accounts.length;
        for (uint256 i; i < length; i++) {
            _blacklisted[accounts[i]] = false;
        }
    }
}

// File: gladiator-finance-contracts/contracts/owner/Operator.sol



pragma solidity ^0.8.0;



contract Operator is Context, Ownable {
    address private _operator;

    event OperatorTransferred(address indexed previousOperator, address indexed newOperator);

    constructor() {
        _operator = _msgSender();
        emit OperatorTransferred(address(0), _operator);
    }

    function operator() public view returns (address) {
        return _operator;
    }

    modifier onlyOperator() {
        require(_operator == msg.sender, "operator: caller is not the operator");
        _;
    }

    function isOperator() public view returns (bool) {
        return _msgSender() == _operator;
    }

    function transferOperator(address newOperator_) public onlyOwner {
        _transferOperator(newOperator_);
    }

    function _transferOperator(address newOperator_) internal {
        require(newOperator_ != address(0), "operator: zero address given for new operator");
        emit OperatorTransferred(address(0), newOperator_);
        _operator = newOperator_;
    }
}

// File: gladiator-finance-contracts/contracts/Controllable.sol



pragma solidity 0.8.9;


contract Controllable is Ownable {
    mapping (address => bool) controllers;

    event ControllerAdded(address);
    event ControllerRemoved(address);

    modifier onlyController() {
        require(controllers[_msgSender()] || _msgSender() ==  owner(), "Only controllers can do that");
        _;
    }

    /*** ADMIN  ***/
    /**
     * enables an address to mint / burn
     * @param controller the address to enable
     */
    function addController(address controller) external onlyOwner {
         _addController(controller);
    }

    function _addController(address controller) internal {
        if (!controllers[controller]) {
            controllers[controller] = true;
            emit ControllerAdded(controller);
        }
    }

    /**
     * disables an address from minting / burning
     * @param controller the address to disbale
     */
    function removeController(address controller) external onlyOwner {
        _RemoveController(controller);
    }

    function _RemoveController(address controller) internal {
        if (controllers[controller]) {
            controllers[controller] = false;
            emit ControllerRemoved(controller);
        }
    }
}

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


// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;


/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        _requireNotPaused();
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        _requirePaused();
        _;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        require(paused(), "Pausable: not paused");
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

// File: gladiator-finance-contracts/contracts/glad_core/roman_nft/PreyPredator.sol



pragma solidity =0.8.9;
















contract PreyPredator is
    IPreyPredator,
    ERC721Enumerable,
    ERC721Royalty,
    ERC721Burnable,
    Operator,
    Controllable,
    Blacklistable,
    Pausable
{
    using SafeERC20 for IERC20;
    //INFO: Configuration is defined here

    uint256 public constant MAX_PER_MINT = 30;
    uint256 public MAX_MINT_PER_ADDRESS;

    uint8 public PREDATOR_MINT_CHANCE = 10;
    uint8 public MINT_STEAL_CHANCE = 10;

    // gen 0 mint price floor
    uint256 public MINT_PRICE_START;
    uint256 public MINT_PRICE_END;
    // max number of GEN0 tokens that can be minted
    uint256 public GEN0_TOKENS;
    // after how many blocks the traits are revealed
    uint256 public immutable REVEAL_DELAY = 5;
    uint96 public ROYALTY_FEE = 9;
    // number of tokens have been minted so far
    uint64 public minted;
    mapping(uint256 => uint256) public mintedPerGen;
    mapping(address => uint256) public mintedPerAddress;
    // current generation
    uint8 public currentGeneration;
    // index of the last revealed NFT
    uint256 private lastRevealed;
    // start timestamp
    uint256 public mintStartTime;
    // whitelist free nft claim tracker
    mapping(address => bool) public whitelistClaimed;
    // mapping from tokenId to a struct containing the token's traits
    mapping(uint256 => PreyPredator) private tokenTraits;
    // mapping from hashed(tokenTrait) to the tokenId it's associated with
    // used to ensure there are no duplicates
    mapping(uint256 => uint256) private existingCombinations;

    mapping(uint256 => uint256) public mintBlock;

    mapping(uint256 => uint256) public mintedPrice;

    // list of probabilities for each trait type
    // 0 - 9 are associated with Prey, 10 - 18 are associated with Predators
    uint16[][19] public rarities;
    // list of aliases for Walker's Alias algorithm
    // 0 - 9 are associated with Prey, 10 - 18 are associated with Predators
    uint8[][19] public aliases;

    // reference to the Pool for choosing random Predator thieves
    // initial nft pool
    IPool public pool;
    // nft for glad/dgladshare pool
    IPool public pool2;
    // reference to Traits
    ITraits public traits;
    // reference to entropy generation
    IEntropy public entropy;

    // reference to whiteist
    IWhitelist public whitelist;

    address public daoAddress;
    address public teamAddress;

    /**
     * instantiates contract and rarity tables
     */
    constructor(
        address _traits,
        address _wl,
        address _daoAddress,
        address _teamAddress,
        uint256 _mintStartTime,
        uint256 _startprice,
        uint256 _endprice,
        uint256 _gen0Tokens,
        uint256 _maxMintPerAddress
    ) ERC721("Gladiator Finance", "GLADNFT") {
        //TODO:
        traits = ITraits(_traits);
        whitelist = IWhitelist(_wl);
        mintStartTime = _mintStartTime;
        _setDefaultRoyalty(owner(), ROYALTY_FEE);
        MAX_MINT_PER_ADDRESS = _maxMintPerAddress;

        MINT_PRICE_END = _endprice;
        MINT_PRICE_START = _startprice;

        GEN0_TOKENS = _gen0Tokens;

        daoAddress = _daoAddress;
        teamAddress = _teamAddress;
        // I know this looks weird but it saves users gas by making lookup O(1)
        // A.J. Walker's Alias Algorithm
        // prey
        // environment
        rarities[0] = [246, 228, 256, 241, 253, 54, 36];
        aliases[0] = [2, 3, 2, 4, 2, 0, 1];
        // body
        rarities[1] = [102, 179, 256, 51, 26, 51, 26, 51, 26, 26];
        aliases[1] = [1, 2, 2, 0, 1, 2, 0, 1, 2, 0];
        // armor
        rarities[2] = [256, 205, 20, 184, 92, 15];
        aliases[2] = [0, 0, 0, 0, 1, 2];
        // helmet
        rarities[3] = [256, 210, 84, 241, 251, 108, 18];
        aliases[3] = [0, 3, 0, 0, 0, 1, 2];
        // shoes
        rarities[4] = [256, 210, 84, 241, 251, 108, 18];
        aliases[4] = [0, 3, 0, 0, 0, 1, 2];
        // shield
        rarities[5] = [179, 256, 200, 138, 251, 108, 18];
        aliases[5] = [1, 1, 1, 2, 2, 3, 1];
        // weapon
        rarities[6] = [256, 205, 21, 184, 92, 15];
        aliases[6] = [0, 0, 0, 0, 1, 2];
        // item
        rarities[7] = [256, 139, 139, 138, 138, 138, 159, 138, 46];
        aliases[7] = [0, 0, 6, 0, 0, 0, 0, 0, 0];
        // alphaIndex
        rarities[8] = [255];
        aliases[8] = [0];

        // predators
        // environment
        rarities[10] = [256, 154, 184, 154, 154, 246, 246, 0, 0, 0, 0, 31];
        aliases[10] = [0, 0, 0, 2, 0, 2, 0, 2, 0, 0, 0, 0];
        // body
        rarities[11] = [256, 220, 210, 143, 143, 200, 200, 133, 133, 133, 67, 67, 66];
        aliases[11] = [0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 0, 1, 0];
        // armor
        rarities[12] = [255];
        aliases[12] = [0];
        // helmet
        rarities[13] = [255];
        aliases[13] = [0];
        // shoes
        rarities[14] = [255];
        aliases[14] = [0];
        // shield
        rarities[15] = [255];
        aliases[15] = [0];
        // weapon
        rarities[16] = [256, 154, 256, 102, 26];
        aliases[16] = [0, 0, 2, 0, 1];
        // item
        rarities[17] = [256, 141, 166, 77, 166, 166, 154, 154, 154, 154, 153, 115, 77, 39, 38];
        aliases[17] = [0, 0, 0, 0, 0, 0, 1, 2, 4, 5, 0, 1, 0, 0, 0];
        // alphaIndex
        rarities[18] = [256, 154, 256, 102, 26];
        aliases[18] = [0, 0, 2, 0, 1];

        // sanity check
        for (uint256 i = 0; i < 19; i++) {
            require(
                rarities[i].length == aliases[i].length,
                "Rarities' and aliases' length do not match everywhere!"
            );
        }
    }

    /** EXTERNAL */

    // The original contract of Wolf Game is susceptible to an exploit whereby only WOLFs can be minted
    // This is due to the fact that you can check the traits of the minted NFT atomically
    // Problem is solvable by not revealing the batch. Setting the max mint number to 10
    // means that no one can mint more than 10 in a single transaction. And since the current
    // batch is not revealed until the next batch, there is no way to game this setup.
    // This also implies that at least the last 10 NFTs should be minted by admin, to
    // reveal the previous batch.

    /**
     * mint a gen0 token - 90% Prey, 10% Predators
     * Due to buffer considerations, staking is not possible immediately
     * Minter has to wait for 10 mints
     */
    function mintGen0(uint256 amount) external payable whenNotPaused {
        address msgSender = _msgSender();

        require(block.timestamp >= mintStartTime, "Minting not started yet");
        require(tx.origin == msgSender, "Only EOA");
        // - MAX_PER_MINT, because the last MAX_PER_MINT are mintable by an admin
        require(
            mintedPerGen[0] + amount <= GEN0_TOKENS,
            "Mint less, there are no this many gen0 tokens left"
        );
        require(
            mintedPerAddress[msgSender] + amount <= MAX_MINT_PER_ADDRESS,
            "You cant mint that much for this address!"
        );
        uint256 mintCostEther = _getMintPrice(amount);

        if (
            amount >= 10 &&
            whitelist.isWhitelisted(msgSender) &&
            !whitelistClaimed[msgSender]
        ) {
            mintCostEther *= amount - 1;
            mintCostEther /= amount;
        }

        require(
            mintCostEther <= msg.value,
            "Not enough amount sent with transaction"
        );
        _batchmint(msgSender, amount, 0, 0, true);

        // send back excess value
        if (msg.value > mintCostEther) {
            Address.sendValue(payable(msgSender), msg.value - mintCostEther);
        }

        // send 25% to dao address, 75% to team address
        if (address(daoAddress) != address(0) && address(teamAddress) != address(0)) {
            Address.sendValue(payable(daoAddress), address(this).balance * 25 / 100);
            Address.sendValue(payable(teamAddress), address(this).balance);
        }
    }

    function setGen0Mint(uint256 _amount) external whenNotPaused onlyOwner {
        require(_amount >= mintedPerGen[0], "Already minted more");
        GEN0_TOKENS = _amount;
    }

    function mintUnderpeg(
        address to,
        uint256 amount,
        uint256 price
    ) external whenNotPaused {
        require(isOperator(), "no permission");
        require(
            mintedPerGen[currentGeneration] + amount <=
                getGenTokens(currentGeneration),
            "Mint less, there are no this many tokens left"
        );

        _batchmint(to, amount, price, currentGeneration, false);
    }

    function mintGeneric (
        address to,
        uint256 amount,
        uint256 price,
        uint256 generation,
        bool stealing
    ) external whenNotPaused onlyController {
        _batchmint(to, amount, price, generation, stealing);
    }

    function increaseGeneration() external {
        require(isOperator(), "no permission");

        currentGeneration++;
    }

    // TODO: ADD MINT by CONTROLLER

    function _batchmint(
        address msgSender,
        uint256 amount,
        uint256 mintPrice,
        uint256 generation,
        bool stealing
    ) internal whenNotPaused {
        require(amount > 0 && amount <= MAX_PER_MINT, "Invalid mint amount");
        if (
            lastRevealed < minted &&
            mintBlock[minted] + REVEAL_DELAY <= block.number
        ) {
            lastRevealed = minted;
        }

        uint256 seed;
        for (uint256 i = 0; i < amount; i++) {
            minted++;
            seed = entropy.random(minted);
            generate(minted, seed, mintPrice, generation);
            address recipient = msgSender;
            if (stealing) recipient = selectRecipient(seed);
            _safeMint(recipient, minted);
        }
        mintedPerGen[generation] += amount;
    }

    /**
     * update traits of a token (for future use)
     */
    function updateTokenTraits(uint256 _tokenId, PreyPredator memory _newTraits)
        external
        whenNotPaused
        onlyController
    {
        require(
            _tokenId > 0 && _tokenId <= minted,
            "UpdateTraits: token does not exist"
        );
        uint256 traitHash = structToHash(_newTraits);
        uint256 combinationId = existingCombinations[traitHash];
        require(
            combinationId == 0 || combinationId == _tokenId,
            "UpdateTraits: Token with the desired traits already exist"
        );
        // validate that new trait values actually exist by accessing the corresponding alias
        uint256 shift = 0;
        if (!_newTraits.isPrey) {
            shift = 10;
        }
        require(
            aliases[0 + shift].length > _newTraits.environment,
            "UpdateTraits: Invalid environment"
        );
        require(
            aliases[1 + shift].length > _newTraits.body,
            "UpdateTraits: Invalid body"
        );
        require(
            aliases[2 + shift].length > _newTraits.armor,
            "UpdateTraits: Invalid armor"
        );
        require(
            aliases[3 + shift].length > _newTraits.helmet,
            "UpdateTraits: Invalid helmet"
        );
        require(
            aliases[4 + shift].length > _newTraits.shoes,
            "UpdateTraits: Invalid shoes"
        );
        require(
            aliases[5 + shift].length > _newTraits.shield,
            "UpdateTraits: Invalid shield"
        );
        require(
            aliases[6 + shift].length > _newTraits.weapon,
            "UpdateTraits: Invalid weapon"
        );
        require(
            aliases[7 + shift].length > _newTraits.item,
            "UpdateTraits: Invalid item"
        );
        require(
            aliases[8 + shift].length > _newTraits.alphaIndex,
            "UpdateTraits: Invalid alpha"
        );
        require(
            currentGeneration >= _newTraits.generation,
            "UpdateTraits: Invalid generation"
        );
        delete existingCombinations[structToHash(tokenTraits[_tokenId])];
        tokenTraits[_tokenId] = _newTraits;
        existingCombinations[traitHash] = _tokenId;
        emit TokenTraitsUpdated(_tokenId, _newTraits);
    }

    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        // Hardcode the Pool's approval so that users don't have to waste gas approving
        if (_msgSender() != address(pool)) {
            require(
                _isApprovedOrOwner(_msgSender(), tokenId),
                "ERC721: transfer caller is not owner nor approved"
            );
        }
        _transfer(from, to, tokenId);
    }

    function getMintPrice(uint256 amount) public view returns (uint256) {
        require(
            mintedPerGen[0] + amount <= GEN0_TOKENS,
            "Mint less, there are no this many gen0 tokens left"
        );
        return _getMintPrice(amount);
    }

    function getGenTokens(uint8 generation) public view returns (uint256) {
        return 90 + generation * 10;
    }

    /** INTERNAL */

    function _safeMint(address _ownr, uint256 _tokenId)
        internal
        virtual
        override
    {
        super._safeMint(_ownr, _tokenId);
        mintBlock[_tokenId] = block.number;
    }

    function _getMintPrice(uint256 amount) internal view returns (uint256) {
        return
            (((MINT_PRICE_END *
                mintedPerGen[0] +
                MINT_PRICE_START *
                (GEN0_TOKENS - 1 - mintedPerGen[0])) +
                (MINT_PRICE_END *
                    (mintedPerGen[0] + amount - 1) +
                    MINT_PRICE_START *
                    (GEN0_TOKENS - 1 - mintedPerGen[0] + 1 - amount))) *
                amount) /
            2 /
            (GEN0_TOKENS - 1);
    }

    /**
     * generates traits for a specific token, checking to make sure it's unique
     * @param tokenId the id of the token to generate traits for
     * @param seed a pseudorandom 256 bit number to derive traits from
     * @return t - a struct of traits for the given token ID
     */
    function generate(
        uint256 tokenId,
        uint256 seed,
        uint256 mintPrice,
        uint256 generation
    ) internal returns (PreyPredator memory t) {
        t = selectTraits(seed);
        mintedPrice[tokenId] = mintPrice;
        t.generation = uint64(generation);
        if (existingCombinations[structToHash(t)] == 0) {
            tokenTraits[tokenId] = t;
            existingCombinations[structToHash(t)] = tokenId;
            return t;
        }
        return generate(tokenId, entropy.random(seed), mintPrice, generation);
    }

    /**
     * uses A.J. Walker's Alias algorithm for O(1) rarity table lookup
     * ensuring O(1) instead of O(n) reduces mint cost by more than 50%
     * probability & alias tables are generated off-chain beforehand
     * @param seed portion of the 256 bit seed to remove trait correlation
     * @param traitType the trait type to select a trait for
     * @return the ID of the randomly selected trait
     */
    function selectTrait(uint16 seed, uint8 traitType)
        internal
        view
        returns (uint8)
    {
        uint8 trait = uint8(seed) % uint8(rarities[traitType].length);
        if (seed >> 8 < rarities[traitType][trait]) return trait;
        return aliases[traitType][trait];
    }

    /**
     * they have a chance to be given to a random staked predator
     * @param seed a random value to select a recipient from
     * @return the address of the recipient (either the minter or the Predator thief's owner)
     */
    function selectRecipient(uint256 seed) internal view returns (address) {
        // 144 bits reserved for trait selection
        address thief;
        if (block.timestamp < mintStartTime + 73 hours && address(pool) != address(0)) thief = pool.getRandomPredatorOwner(seed >> 144);
        else if (block.timestamp >= mintStartTime + 73 hours && address(pool2) != address(0)) thief = pool2.getRandomPredatorOwner(seed >> 144);
        if (((seed >> 240) % 100) >= MINT_STEAL_CHANCE) {
            return _msgSender();
        } // top 16 bits haven't been used
        else {
            if (thief == address(0x0)) return _msgSender();
            return thief;
        }
    }

    /**
     * selects the species and all of its traits based on the seed value
     * @param seed a pseudorandom 256 bit number to derive traits from
     * @return t -  a struct of randomly selected traits
     */
    function selectTraits(uint256 seed)
        internal
        view
        returns (PreyPredator memory t)
    {
        t.isPrey = (seed & 0xFFFF) % 100 >= PREDATOR_MINT_CHANCE;
        uint8 shift = t.isPrey ? 0 : 10;
        seed >>= 16;
        t.environment = selectTrait(uint16(seed & 0xFFFF), 0 + shift);
        seed >>= 16;
        t.body = selectTrait(uint16(seed & 0xFFFF), 1 + shift);
        seed >>= 16;
        t.armor = selectTrait(uint16(seed & 0xFFFF), 2 + shift);
        seed >>= 16;
        t.helmet = selectTrait(uint16(seed & 0xFFFF), 3 + shift);
        seed >>= 16;
        t.shoes = selectTrait(uint16(seed & 0xFFFF), 4 + shift);
        seed >>= 16;
        t.shield = selectTrait(uint16(seed & 0xFFFF), 5 + shift);
        seed >>= 16;
        t.weapon = selectTrait(uint16(seed & 0xFFFF), 6 + shift);
        seed >>= 16;
        t.item = selectTrait(uint16(seed & 0xFFFF), 7 + shift);
        seed >>= 16;
        t.alphaIndex = selectTrait(uint16(seed & 0xFFFF), 8 + shift);
    }

    /**
     * converts a struct to a 256 bit hash to check for uniqueness
     * @param s the struct to pack into a hash
     * @return the 256 bit hash of the struct
     */
    function structToHash(PreyPredator memory s)
        internal
        pure
        returns (uint256)
    {
        return
            uint256(
                bytes32(
                    abi.encodePacked(
                        s.isPrey,
                        s.environment,
                        s.body,
                        s.armor,
                        s.helmet,
                        s.shoes,
                        s.shield,
                        s.weapon,
                        s.item,
                        s.alphaIndex
                    )
                )
            );
    }

    /** READ */

    function traitsRevealed(uint256 tokenId)
        external
        view
        returns (bool revealed)
    {
        if (
            tokenId <= lastRevealed ||
            mintBlock[tokenId] + REVEAL_DELAY <= block.number
        ) return true;
        return false;
    }

    // only used in traits in a couple of places that all boil down to tokenURI
    // so it is safe to buffer the reveal
    function getTokenTraits(uint256 tokenId)
        external
        view
        override
        returns (PreyPredator memory)
    {
        // to prevent people from minting only predators. We reveal the minted batch,
        // after a few blocks.
        if (tokenId <= lastRevealed) {
            return tokenTraits[tokenId];
        } else {
            require(
                mintBlock[tokenId] + REVEAL_DELAY <= block.number,
                "Traits of this token can't be revealed yet"
            );
            //            mintBlock[tokenId] = block.number;
            return tokenTraits[tokenId];
        }
    }

    /** ADMIN */

    /**
     * called after deployment so that the contract can get random predator thieves
     * @param _pool the address of the Pool
     */
     // initial staking pool address
    function setPool(address _pool) external onlyOwner {
        pool = IPool(_pool);
        _addController(_pool);
    }

    // address of pool2
    function setPool2(address _pool) external onlyOwner {
        pool2 = IPool(_pool);
        _addController(_pool);
    }

    function setDaoAddress(address _adr) external onlyOwner {
        daoAddress = _adr;
    }

    function setTeamAddress(address _adr) external onlyOwner {
        teamAddress = _adr;
    }

    function setEntropy(address _entropy) external onlyOwner {
        entropy = IEntropy(_entropy);
    }

    function setRoyalty(address _addr, uint96 _fee) external onlyOwner {
        ROYALTY_FEE = _fee;
        _setDefaultRoyalty(_addr, _fee);
    }

    function setPredatorMintChance(uint8 _mintChance) external onlyOwner {
        PREDATOR_MINT_CHANCE = _mintChance;
    }

    function setMintStealChance(uint8 _mintStealChance) external onlyOwner {
        MINT_STEAL_CHANCE = _mintStealChance;
    }

    /**
     * allows owner to withdraw funds from minting
     */
    function withdraw() external onlyOwner {
        payable(owner()).transfer(address(this).balance);
    }

    /**
     * reserve amounts for treasury / marketing
     */
    function reserve(uint256 amount, uint256 generation)
        external
        whenNotPaused
        onlyOwner
    {
        require(amount > 0 && amount <= MAX_PER_MINT, "Invalid mint amount");
        require(block.timestamp >= mintStartTime, "Minting not started yet");
        require(generation <= currentGeneration, "Invalid generation");
        _batchmint(owner(), amount, 0, generation, false);
    }

    /**
     * enables owner to pause / unpause minting
     */
    function setPaused(bool _paused) external onlyOwner {
        if (_paused) _pause();
        else _unpause();
    }

    /** RENDER */

    function tokenURI(uint256 tokenId)
        public
        view
        override
        returns (string memory)
    {
        require(
            _exists(tokenId),
            "ERC721Metadata: URI query for nonexistent token"
        );
        // to prevent people from minting only predators. We reveal the minted batch,
        // if the next batch has been minted.
        if (tokenId <= lastRevealed) {
            return traits.tokenURI(tokenId);
        } else {
            require(
                mintBlock[tokenId] + REVEAL_DELAY <= block.number,
                "Traits of this token can't be revealed yet"
            );
            //            mintBlock[tokenId] = block.number;
            return traits.tokenURI(tokenId);
        }
    }

    // ** OVERRIDES **//
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override(ERC721, ERC721Enumerable) {
        require(!isBlacklisted(from), "PreyPredator: sender is blacklisted");
        require(!isBlacklisted(to), "PreyPredator: receiver is blacklisted");
        super._beforeTokenTransfer(from, to, tokenId);
    }
    
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        require(!isBlacklisted(operator), "PreyPredator: operator is blacklisted");
        return controllers[operator] || super.isApprovedForAll(owner, operator);
    }

    function _burn(uint256 tokenId)
        internal
        virtual
        override(ERC721, ERC721Royalty)
    {
        super._burn(tokenId);
    }

    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(ERC721, ERC721Enumerable, ERC721Royalty)
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }
}

// File: gladiator-finance-contracts/contracts/glad_core/roman_nft/InitialNFTPool.sol


pragma solidity =0.8.9;








contract InitialNFTPool is IPool, Controllable, IERC721Receiver, Pausable {
    // Mapping, weights, scores
    // Translates the alpha index of a Predator to effective Alpha
    uint16[] alphaIndexToAlphaLUT = [100, 120, 140, 160, 180];

    mapping(address => UserStake) public userPool;

    event TokenStaked(address indexed owner, uint256 indexed tokenId, bool isPrey);
    event TokenClaimed(uint256 indexed tokenId, bool isPrey);
    event BarnRewardClaimed(address indexed user, uint256 amount, uint256 tax);
    event PackRewardClaimed(address indexed user, uint256 amount);
    event UserStakeChange(
        address indexed user,
        uint80 lastTimestamp,
        uint64 preyStaked,
        uint64 predatorsStaked,
        uint256 lastRewardPerPrey,
        uint256 claimableBarnReward,
        uint256 claimablePackReward,
        uint256 stakedAlpha,
        uint256 lastRewardPerAlpha
    );
    event PoolStakeChange(
        uint256 totalPreyStaked,
        uint256 totalPredatorsStaked,
        uint256 totalAlphaStaked
    );

    // reference to the PreyPredator NFT contract
    PreyPredator public preypredator;
    // reference to the reward token contract for minting earnings (GLADSHARE)
    IBasisAsset public rewardToken;
    // reference to Entropy
    IEntropy entropy;
    //
    uint256 mySeed;

    // maps tokenId to stake
    Stake[] public barn;
    // tracks location of each Prey in Barn
    mapping(uint256 => uint256) public barnIndices;

    // maps alpha to all Predator stakes with that alpha
    mapping(uint256 => Stake[]) public pack;
    // tracks location of each Predator in Pack
    mapping(uint256 => uint256) public packIndices;
    // total alpha scores staked
    uint256 public totalAlphaStaked;
    //
    uint256 public totalPredatorsStaked;
    // any rewards distributed when no predators are staked
    uint256 public unaccountedRewards;

    // last timestamp of rewardperprey/rewardperalpha
    uint80 public lastTimestamp;

    // amount of total Reward due for each prey point staked
    uint256 public totalRewardPerPrey;

    // amount of total Reward due for each alpha point staked
    uint256 public totalRewardPerAlpha;

    uint256 public constant PERIOD = 86400 * 3; // (3 days)
    uint256 public REWARDS_PER_PERIOD = 1 * 10**18; // 1 GLADSHARE

    function setStakingParams(uint256 _rewardrate) external onlyOwner {
        REWARDS_PER_PERIOD = _rewardrate;
    }

    uint8 public STEALCHANCE_PREDATOR_UNSTAKE = 5;
    uint8 public STEALCHANCE_PREY_UNSTAKE = 20;
    // predators take a 20% tax on all $Reward claimed
    uint256 public REWARD_CLAIM_TAX_PERCENTAGE = 20;

    function setStealChance(
        uint8 _predatorunstake,
        uint8 _preyunstake,
        uint8 _rewardsteal
    ) external onlyOwner {
        STEALCHANCE_PREDATOR_UNSTAKE = _predatorunstake;
        STEALCHANCE_PREY_UNSTAKE = _preyunstake;
        REWARD_CLAIM_TAX_PERCENTAGE = _rewardsteal;
    }

    // number of Prey staked in the Barn
    uint256 public totalPreyStaked;

    // staking start timestamp
    uint80 public stakingStart;

    // staking end timestamp
    uint80 public stakingEnd;

    // deadline for claiming
    uint80 public claimDeadline;

    // whiltelist of who can use the random endpoints
    // contracts who need to pick random owners need to be added
    mapping(address => bool) randomWhitelist;

    // emergency rescue to allow unstaking without any checks but without $Reward
    bool public rescueEnabled = false;

    /**
     * @param _preypredator reference to the PreyPRedator NFT contract
     * @param _rewardtoken reference to the $Reward token (GLADSHARE)
     * @param _entropy reference to the entropy contract (allow this contract to use it)
     * @param _stakingStart timestamp for staking start
     */
    constructor(
        address _preypredator,
        address _rewardtoken,
        address _entropy,
        uint80 _stakingStart
    ) {
        rewardToken = IBasisAsset(_rewardtoken);
        preypredator = PreyPredator(_preypredator);
        stakingStart = _stakingStart;
        stakingEnd = uint80(stakingStart + 3 days);
        claimDeadline = uint80(stakingEnd + 30 days);
        entropy = IEntropy(_entropy);
    }

    /** STAKING */

    /**
     * adds Prey and Predators to the Barn and Pack
     * @param tokenIds the IDs of the Prey and Predators to stake
     */
    function addManyToPool(uint64[] calldata tokenIds)
        external
        whenNotPaused
        beforeDeadline
        updateEarnings(msg.sender)
    {
        //require(stakingStart <= block.timestamp, "NOT YET");
        require(tx.origin == msg.sender, "Only EOA");

        for (uint256 i = 0; i < tokenIds.length; i++) {
            // to ensure it can be revealed
            require(
                preypredator.traitsRevealed(tokenIds[i]),
                "This token cannot be staked yet, wait a few blocks"
            );

            require(
                preypredator.ownerOf(tokenIds[i]) == msg.sender,
                "NOT YOURS"
            );

            preypredator.transferFrom(msg.sender, address(this), tokenIds[i]);

            if (isPrey(tokenIds[i])) _addPreyToBarn(msg.sender, tokenIds[i]);
            else _addPredatorToPack(msg.sender, tokenIds[i]);
        }
    }

    // ** INTERNAL * //

    /**
     * adds a single Prey to the Barn
     * @param account the address of the staker
     * @param tokenId the ID of the Prey to add to the Barn
     */
    function _addPreyToBarn(address account, uint256 tokenId) internal {
        totalPreyStaked += 1;
        userPool[account].preyStaked += 1;
        barnIndices[tokenId] = barn.length;
        barn.push(Stake({owner: account, tokenId: uint64(tokenId)}));

        emit TokenStaked(account, tokenId, true);
    }

    /**
     * adds a single Predator to the Pack
     * @param account the address of the staker
     * @param tokenId the ID of the Predator to add to the Pack
     */
    function _addPredatorToPack(address account, uint256 tokenId) internal {
        uint256 alpha = _alphaForPredator(tokenId);
        totalAlphaStaked += alpha; // Portion of earnings mapped
        totalPredatorsStaked += 1;
        userPool[account].predatorsStaked += 1;
        userPool[account].stakedAlpha += alpha;
        packIndices[tokenId] = pack[alpha].length; // Store the location of the predator in the Pack
        pack[alpha].push(Stake({owner: account, tokenId: uint64(tokenId)})); // Add the predator to the Pack

        emit TokenStaked(account, tokenId, false);
    }

    /** CLAIMING / UNSTAKING */

    /**
     * unstake a Prey or Predator it will require thet the end time for the initial
     * pool has passed
     * @param tokenIds the IDs of the tokens to claim earnings from
     */

    function claimManyFromPool(uint64[] calldata tokenIds)
        public
        whenNotPaused
        beforeDeadline
        updateEarnings(msg.sender)
    {
        require(tx.origin == msg.sender, "Only EOA");
        require(stakingEnd <= block.timestamp, "Cannot unstake yet");

        for (uint256 i = 0; i < tokenIds.length; i++) {
            require(
                preypredator.ownerOf(tokenIds[i]) == address(this),
                "NFT not in this pool"
            );
            if (isPrey(tokenIds[i])) _claimPreyFromBarn(tokenIds[i]);
            else _claimPredatorFromPack(tokenIds[i]);
        }
    }

    // ** INTERNAL * //

    /**
     * unstake a single Prey
     * @param tokenId the ID of the Prey to claim
     */
    function _claimPreyFromBarn(uint256 tokenId) internal {
        Stake memory stake = barn[barnIndices[tokenId]];

        require(stake.owner == _msgSender(), "Not your NFT");
        totalPreyStaked -= 1;
        userPool[_msgSender()].preyStaked -= 1;
        address owner = stake.owner;
        uint256 rnd = entropy.random(mySeed++);
        if (totalAlphaStaked > 0 && rnd % 100 < STEALCHANCE_PREY_UNSTAKE) {
            rnd >>= 8;
            owner = _randomPredatorStake(rnd).owner;
        }
        preypredator.safeTransferFrom(address(this), owner, tokenId, "");

        Stake memory lastStake = barn[barn.length - 1];
        barn[barnIndices[tokenId]] = lastStake; // Shuffle last Prey to current position
        barnIndices[lastStake.tokenId] = barnIndices[tokenId];
        barn.pop(); // Remove duplicate

        delete barnIndices[tokenId]; // Delete old mapping
        emit TokenClaimed(tokenId, true);
    }

    /**
     * unstake a single Predator
     * @param tokenId the ID of the Predator to claim
     */
    function _claimPredatorFromPack(uint256 tokenId) internal {
        uint256 alpha = _alphaForPredator(tokenId);
        Stake memory stake = pack[alpha][packIndices[tokenId]];
        require(stake.owner == _msgSender(), "Not your NFT");

        totalAlphaStaked -= alpha; // Remove Alpha from total staked

        Stake memory lastStake = pack[alpha][pack[alpha].length - 1]; // get last
        pack[alpha][packIndices[tokenId]] = lastStake; // Shuffle last Predator to current position
        packIndices[lastStake.tokenId] = packIndices[tokenId];
        pack[alpha].pop(); // Remove duplicate
        totalPredatorsStaked -= 1;
        userPool[_msgSender()].predatorsStaked -= 1;
        userPool[_msgSender()].stakedAlpha -= alpha;
        delete packIndices[tokenId]; // Delete old mapping

        address owner = stake.owner;
        uint256 rnd = entropy.random(mySeed++);
        if (totalAlphaStaked > 0 && rnd % 100 < STEALCHANCE_PREDATOR_UNSTAKE) {
            rnd >>= 8;
            owner = _randomPredatorStake(rnd).owner;
        }
        preypredator.safeTransferFrom(address(this), owner, tokenId, "");
        emit TokenClaimed(tokenId, false);
    }

    // ** ----------- * //

    /**
     * emergency unstake tokens - once this is used you cant switch back to non-emergency mode
     * @param tokenIds the IDs of the tokens to claim earnings from
     */
    function rescue(uint256[] calldata tokenIds) external beforeDeadline {
        require(rescueEnabled, "RESCUE DISABLED");
        require(tx.origin == msg.sender, "Only EOA");
        _rescue(tokenIds, false);
    }

    function rescueExpired(uint256[] calldata tokenIds) external onlyOwner {
        require(block.timestamp >= claimDeadline, "Not expired yet");
        _rescue(tokenIds, true);
    }

    function _rescue(uint256[] calldata tokenIds, bool sendToOwner) internal {
        uint256 tokenId;
        Stake memory stake;
        Stake memory lastStake;
        uint256 alpha;

        for (uint256 i = 0; i < tokenIds.length; i++) {
            tokenId = tokenIds[i];

            if (isPrey(tokenId)) {
                stake = barn[barnIndices[tokenId]];
                require(sendToOwner || stake.owner == msg.sender, "NO-NO");

                totalPreyStaked -= 1;
                userPool[stake.owner].preyStaked -= 1;
                lastStake = barn[barn.length - 1];
                barn[barnIndices[tokenId]] = lastStake; // Shuffle last Prey to current position
                barnIndices[lastStake.tokenId] = barnIndices[tokenId];
                barn.pop(); // Remove duplicate

                delete barnIndices[tokenId]; // Delete old mapping

                preypredator.safeTransferFrom(
                    address(this),
                    sendToOwner ? owner() : stake.owner,
                    tokenId,
                    ""
                ); // send back Prey

                emit TokenClaimed(tokenId, true);
            } else {
                alpha = _alphaForPredator(tokenId);
                stake = pack[alpha][packIndices[tokenId]];

                require(sendToOwner || stake.owner == msg.sender, "NO-NO");

                totalPredatorsStaked -= 1;
                userPool[stake.owner].predatorsStaked -= 1;
                userPool[stake.owner].stakedAlpha -= alpha;
                totalAlphaStaked -= alpha; // Remove Alpha from total staked
                lastStake = pack[alpha][pack[alpha].length - 1];
                pack[alpha][packIndices[tokenId]] = lastStake; // Shuffle last Predator to current position
                packIndices[lastStake.tokenId] = packIndices[tokenId];
                pack[alpha].pop(); // Remove duplicate
                delete packIndices[tokenId]; // Delete old mapping

                preypredator.safeTransferFrom(
                    address(this),
                    sendToOwner ? owner() : stake.owner,
                    tokenId,
                    ""
                ); // Send back Predator

                emit TokenClaimed(tokenId, false);
            }
        }
    }

    /** ACCOUNTING */

    /**
     * add $REWARD to claimable pot for the Pack
     * @param amount $REWARD to add to the pot
     */
    function _payPackTax(uint256 amount) internal {
        if (totalAlphaStaked == 0) {
            // if there's no staked predators
            unaccountedRewards += amount; // keep track of $REWARD to predators
            return;
        }
        // makes sure to include any unaccounted $REWARD
        totalRewardPerAlpha += (amount + unaccountedRewards) / totalAlphaStaked;
        unaccountedRewards = 0;
    }

    modifier beforeDeadline() {
        require(
            block.timestamp <= claimDeadline,
            "Deadline for claiming from this pool has passed :("
        );
        _;
    }

    /**
     * tracks earnings to ensure it is up to date
     */
    modifier updateEarnings(address _user) {
        totalRewardPerPrey = getRewardPerPrey();
        if (totalPreyStaked != 0) lastTimestamp = uint80(block.timestamp);
        totalRewardPerAlpha = getRewardPerAlpha();
        if (totalAlphaStaked != 0) {
            unaccountedRewards = 0;
        }

        //update claimable prey reward
        userPool[_user].claimableBarnReward +=
            (totalRewardPerPrey - userPool[_user].lastRewardPerPrey) *
            userPool[_user].preyStaked;
        userPool[_user].claimablePackReward +=
            (totalRewardPerAlpha - userPool[_user].lastRewardPerAlpha) *
            userPool[_user].stakedAlpha;
        userPool[_user].lastRewardPerPrey = totalRewardPerPrey;
        userPool[_user].lastRewardPerAlpha = totalRewardPerAlpha;
        userPool[_user].lastTimestamp = uint80(block.timestamp);

        _;

        emit UserStakeChange(
            _user,
            userPool[_user].lastTimestamp,
            userPool[_user].preyStaked,
            userPool[_user].predatorsStaked,
            userPool[_user].lastRewardPerPrey,
            userPool[_user].claimableBarnReward,
            userPool[_user].claimablePackReward,
            userPool[_user].stakedAlpha,
            userPool[_user].lastRewardPerAlpha
        );
        emit PoolStakeChange(totalPreyStaked, totalPredatorsStaked, totalAlphaStaked);
    }

    /* REWARD calculation */

    function getRewardPerPrey() public view returns (uint256 amount) {
        if (block.timestamp <= stakingStart) return totalRewardPerPrey;
        if (lastTimestamp >= stakingEnd) return totalRewardPerPrey;
        if (totalPreyStaked == 0) return totalRewardPerPrey;
        uint80 periodstart = stakingStart > lastTimestamp
            ? stakingStart
            : lastTimestamp;
        uint80 periodend = uint80(
            stakingEnd < block.timestamp ? stakingEnd : block.timestamp
        );
        if (periodend <= periodstart) return totalRewardPerPrey;
        return
            totalRewardPerPrey +
            ((periodend - periodstart) * REWARDS_PER_PERIOD) /
            PERIOD /
            totalPreyStaked;
    }

    function getRewardPerAlpha() public view returns (uint256 amount) {
        if (totalAlphaStaked != 0) {
            // makes sure to include any unaccounted $REWARD
            return
                totalRewardPerAlpha +
                (amount + unaccountedRewards) /
                totalAlphaStaked;
        }
        return totalRewardPerAlpha;
    }

    /* REWARD claiming */

    function claimBarnReward()
        public
        whenNotPaused
        beforeDeadline
        updateEarnings(msg.sender)
    {
        _claimBarnReward();
    }

    function _claimBarnReward() internal
    {
        address _user = msg.sender;
        uint256 claimable = userPool[_user].claimableBarnReward;
        if (claimable > 0) {
            userPool[_user].claimableBarnReward = 0;
            uint256 tax = (claimable * REWARD_CLAIM_TAX_PERCENTAGE) / 100;
            _payPackTax(tax);
            rewardToken.mint(_user, claimable - tax);
            emit BarnRewardClaimed(msg.sender, claimable - tax, tax);
        }
    }

    function claimPackReward()
        public
        whenNotPaused
        beforeDeadline
        updateEarnings(msg.sender)
    {
        _claimPackReward();
    }

    function _claimPackReward() internal
    {
        address _user = msg.sender;
        uint256 claimable = userPool[_user].claimablePackReward;
        userPool[_user].claimablePackReward = 0;
        if (claimable > 0) {
            rewardToken.mint(_user, claimable);
            emit PackRewardClaimed(msg.sender, claimable);
        }
    }

    /** ADMIN */

    /**
     * allows owner to enable "rescue mode"
     * simplifies accounting, prioritizes tokens out in emergency
     */
    function setRescueEnabled() external onlyOwner {
        if (!paused()) _pause(); //rescue should also pause
        stakingEnd = uint80(block.timestamp);
        rescueEnabled = true;
    }

    function setEntropy(address _entropy) external onlyOwner {
        entropy = IEntropy(_entropy);
    }

    function addToRandomWhitelist(address[] calldata _addr) external onlyOwner {
        for (uint256 i = 0; i < _addr.length; i++) {
            randomWhitelist[_addr[i]] = true;
        }
    }

    function removeFromRandomWhitelist(address[] calldata _addr)
        external
        onlyOwner
    {
        for (uint256 i = 0; i < _addr.length; i++) {
            randomWhitelist[_addr[i]] = false;
        }
    }

    /**
     * enables owner to pause / unpause minting
     */
    function setPaused(bool _paused) external onlyOwner {
        require(!rescueEnabled || _paused == true, "RECSUE ON");
        if (_paused) _pause();
        else _unpause();
    }

    /** READ ONLY */

    /**
     * checks if a token is a Prey
     * @param tokenId the ID of the token to check
     * @return prey - whether or not a token is a Prey
     */
    function isPrey(uint256 tokenId) public view returns (bool prey) {
        IPreyPredator.PreyPredator memory iPreyPredator = preypredator
            .getTokenTraits(tokenId);
        return iPreyPredator.isPrey;
    }

    /**
     * gets the alpha score for a Predaror
     * @param tokenId the ID of the Predator to get the alpha score for
     * @return the alpha score of the PRedator
     */
    function _alphaForPredator(uint256 tokenId) internal view returns (uint16) {
        IPreyPredator.PreyPredator memory iPreyPredator = preypredator
            .getTokenTraits(tokenId);

        return alphaIndexToAlphaLUT[iPreyPredator.alphaIndex];
    }

    function getClaimableBarnReward(address _user)
        external
        view
        returns (uint256 amount)
    {
        if (block.timestamp > claimDeadline) return 0;
        uint256 tmp = getRewardPerPrey();
        return
            userPool[_user].claimableBarnReward +
            (tmp - userPool[_user].lastRewardPerPrey) *
            userPool[_user].preyStaked;
    }

    function getClaimablePackReward(address _user)
        external
        view
        returns (uint256 amount)
    {
        if (block.timestamp > claimDeadline) return 0;
        return
            userPool[_user].claimablePackReward +
            (totalRewardPerAlpha - userPool[_user].lastRewardPerAlpha) *
            userPool[_user].stakedAlpha;
    }

    function getUserStake(address userid)
        external
        view
        returns (UserStake memory)
    {
        return userPool[userid];
    }

    function getRandomPreyOwner(uint256 seed) external view returns (address) {
        require(
            randomWhitelist[msg.sender],
            "Not allowed to request random staker"
        );
        return _randomPreyStake(seed).owner;
    }

    /**
     * chooses a random Prey Owner
     * @param seed a random value to choose a Prey from
     * @return the owner of the randomly selected Prey
     */
    function getRandomPreyStake(uint256 seed)
        external
        view
        returns (Stake memory)
    {
        require(
            randomWhitelist[msg.sender],
            "Not allowed to request random staker"
        );
        return _randomPreyStake(seed);
    }

    function _randomPreyStake(uint256 seed)
        internal
        view
        returns (Stake memory)
    {
        if (totalPreyStaked == 0) return Stake(0, address(0));
        // choose a value from Barn
        return barn[(seed & 0xFFFFFFFFFFFFFFFF) % totalPreyStaked];
    }

    function getRandomPredatorOwner(uint256 seed)
        external
        view
        returns (address)
    {
        require(
            randomWhitelist[msg.sender],
            "Not allowed to request random staker"
        );
        return _randomPredatorStake(seed).owner;
    }

    /**
     * chooses a random Predator owner based on alpha score
     * @param seed a random value to choose a Predator from
     * @return the owner of the randomly selected Predator
     */
    function getRandomPredatorStake(uint256 seed)
        external
        view
        returns (Stake memory)
    {
        require(
            randomWhitelist[msg.sender],
            "Not allowed to request random staker"
        );
        return _randomPredatorStake(seed);
    }

    function _randomPredatorStake(uint256 seed)
        internal
        view
        returns (Stake memory)
    {
        if (totalAlphaStaked == 0) return Stake(0, address(0));

        // choose a value from 0 to total alpha staked
        uint256 bucket = (seed & 0xFFFFFFFFFFFF) % totalAlphaStaked;
        uint256 cumulative;
        seed >>= 48;

        // loop through each bucket of Predators with the same alpha score
        for (uint256 i = 0; i < alphaIndexToAlphaLUT.length; i++) {
            uint16 alpha = alphaIndexToAlphaLUT[i];
            cumulative += pack[alpha].length * alpha;
            // if the value is not inside of that bucket, keep going
            if (bucket >= cumulative) continue;
            // get the address of a random Predator with that alpha score
            return pack[alpha][seed % pack[alpha].length];
        }
        return Stake(0, address(0));
    }

    function onERC721Received(
        address,
        address,
        uint256,
        bytes calldata
    ) external pure override returns (bytes4) {
        revert("Dont accept");
    }
}

Contract ABI

[{"inputs":[{"internalType":"address","name":"_preypredator","type":"address"},{"internalType":"address","name":"_rewardtoken","type":"address"},{"internalType":"address","name":"_entropy","type":"address"},{"internalType":"uint80","name":"_stakingStart","type":"uint80"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tax","type":"uint256"}],"name":"BarnRewardClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"","type":"address"}],"name":"ControllerAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"","type":"address"}],"name":"ControllerRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PackRewardClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"totalPreyStaked","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalPredatorsStaked","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalAlphaStaked","type":"uint256"}],"name":"PoolStakeChange","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"bool","name":"isPrey","type":"bool"}],"name":"TokenClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"bool","name":"isPrey","type":"bool"}],"name":"TokenStaked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint80","name":"lastTimestamp","type":"uint80"},{"indexed":false,"internalType":"uint64","name":"preyStaked","type":"uint64"},{"indexed":false,"internalType":"uint64","name":"predatorsStaked","type":"uint64"},{"indexed":false,"internalType":"uint256","name":"lastRewardPerPrey","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"claimableBarnReward","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"claimablePackReward","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"stakedAlpha","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lastRewardPerAlpha","type":"uint256"}],"name":"UserStakeChange","type":"event"},{"inputs":[],"name":"PERIOD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REWARDS_PER_PERIOD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REWARD_CLAIM_TAX_PERCENTAGE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"STEALCHANCE_PREDATOR_UNSTAKE","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"STEALCHANCE_PREY_UNSTAKE","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"controller","type":"address"}],"name":"addController","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64[]","name":"tokenIds","type":"uint64[]"}],"name":"addManyToPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addr","type":"address[]"}],"name":"addToRandomWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"barn","outputs":[{"internalType":"uint64","name":"tokenId","type":"uint64"},{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"barnIndices","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimBarnReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimDeadline","outputs":[{"internalType":"uint80","name":"","type":"uint80"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64[]","name":"tokenIds","type":"uint64[]"}],"name":"claimManyFromPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimPackReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"getClaimableBarnReward","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"getClaimablePackReward","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"seed","type":"uint256"}],"name":"getRandomPredatorOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"seed","type":"uint256"}],"name":"getRandomPredatorStake","outputs":[{"components":[{"internalType":"uint64","name":"tokenId","type":"uint64"},{"internalType":"address","name":"owner","type":"address"}],"internalType":"struct IPool.Stake","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"seed","type":"uint256"}],"name":"getRandomPreyOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"seed","type":"uint256"}],"name":"getRandomPreyStake","outputs":[{"components":[{"internalType":"uint64","name":"tokenId","type":"uint64"},{"internalType":"address","name":"owner","type":"address"}],"internalType":"struct IPool.Stake","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRewardPerAlpha","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRewardPerPrey","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"userid","type":"address"}],"name":"getUserStake","outputs":[{"components":[{"internalType":"uint80","name":"lastTimestamp","type":"uint80"},{"internalType":"uint64","name":"preyStaked","type":"uint64"},{"internalType":"uint64","name":"predatorsStaked","type":"uint64"},{"internalType":"uint256","name":"lastRewardPerPrey","type":"uint256"},{"internalType":"uint256","name":"claimableBarnReward","type":"uint256"},{"internalType":"uint256","name":"claimablePackReward","type":"uint256"},{"internalType":"uint256","name":"stakedAlpha","type":"uint256"},{"internalType":"uint256","name":"lastRewardPerAlpha","type":"uint256"}],"internalType":"struct IPool.UserStake","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"isPrey","outputs":[{"internalType":"bool","name":"prey","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastTimestamp","outputs":[{"internalType":"uint80","name":"","type":"uint80"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"pack","outputs":[{"internalType":"uint64","name":"tokenId","type":"uint64"},{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"packIndices","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preypredator","outputs":[{"internalType":"contract PreyPredator","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"controller","type":"address"}],"name":"removeController","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addr","type":"address[]"}],"name":"removeFromRandomWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"rescue","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rescueEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"rescueExpired","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardToken","outputs":[{"internalType":"contract IBasisAsset","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_entropy","type":"address"}],"name":"setEntropy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_paused","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setRescueEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rewardrate","type":"uint256"}],"name":"setStakingParams","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_predatorunstake","type":"uint8"},{"internalType":"uint8","name":"_preyunstake","type":"uint8"},{"internalType":"uint8","name":"_rewardsteal","type":"uint8"}],"name":"setStealChance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingEnd","outputs":[{"internalType":"uint80","name":"","type":"uint80"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stakingStart","outputs":[{"internalType":"uint80","name":"","type":"uint80"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAlphaStaked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalPredatorsStaked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalPreyStaked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalRewardPerAlpha","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalRewardPerPrey","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unaccountedRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userPool","outputs":[{"internalType":"uint80","name":"lastTimestamp","type":"uint80"},{"internalType":"uint64","name":"preyStaked","type":"uint64"},{"internalType":"uint64","name":"predatorsStaked","type":"uint64"},{"internalType":"uint256","name":"lastRewardPerPrey","type":"uint256"},{"internalType":"uint256","name":"claimableBarnReward","type":"uint256"},{"internalType":"uint256","name":"claimablePackReward","type":"uint256"},{"internalType":"uint256","name":"stakedAlpha","type":"uint256"},{"internalType":"uint256","name":"lastRewardPerAlpha","type":"uint256"}],"stateMutability":"view","type":"function"}]

61012060405260646080908152607860a0908152608c60c05260e05260b46101005262000031906003906005620001e7565b50670de0b6b3a76400006013556014805461ffff19166114051781556015556019805460ff191690553480156200006757600080fd5b50604051620044d8380380620044d88339810160408190526200008a91620002ca565b620000953362000197565b6002805460ff19169055600680546001600160a01b038086166001600160a01b0319928316179092556005805492871692909116919091179055601780546001600160501b0383166001600160501b03199091168117909155620000fd906203f48062000335565b60178054600160501b600160a01b0319166a01000000000000000000006001600160501b0393841681029190911791829055620001419291041662278d0062000335565b601780546001600160501b0392909216600160a01b02600160a01b600160f01b031990921691909117905550600780546001600160a01b039092166001600160a01b0319909216919091179055506200036f9050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b82805482825590600052602060002090600f01601090048101928215620002845791602002820160005b838211156200025257835183826101000a81548161ffff021916908360ff160217905550926020019260020160208160010104928301926001030262000211565b8015620002825782816101000a81549061ffff021916905560020160208160010104928301926001030262000252565b505b506200029292915062000296565b5090565b5b8082111562000292576000815560010162000297565b80516001600160a01b0381168114620002c557600080fd5b919050565b60008060008060808587031215620002e157600080fd5b620002ec85620002ad565b9350620002fc60208601620002ad565b92506200030c60408601620002ad565b60608601519092506001600160501b03811681146200032a57600080fd5b939692955090935050565b60006001600160501b038281168482168083038211156200036657634e487b7160e01b600052601160045260246000fd5b01949350505050565b614159806200037f6000396000f3fe608060405234801561001057600080fd5b50600436106103275760003560e01c80636c566de4116101b8578063b72f75b611610104578063c90e5102116100a2578063dd55fcb31161007c578063dd55fcb3146107f9578063f2fde38b1461080c578063f6a74ed71461081f578063f7c618c11461083257600080fd5b8063c90e5102146107c0578063d0e9892b146107d3578063d771b0a6146107e657600080fd5b8063bbb6cbcc116100de578063bbb6cbcc14610789578063be1124ac1461079c578063c0c472c0146107af578063c41caa49146107b857600080fd5b8063b72f75b6146106e2578063bb53a548146106f4578063bbadc93a146106fd57600080fd5b80638da5cb5b11610171578063a6c1c6a91161014b578063a6c1c6a9146106a9578063a7fc7a07146106b2578063b4d1d795146106c5578063b59ee46d146106cf57600080fd5b80638da5cb5b1461060b57806397434ce71461061c578063a2000cdb1461069657600080fd5b80636c566de4146105a15780636f234fb5146105b45780636f257875146105d4578063715018a6146105dd5780637c249f44146105e5578063855b693a146105f857600080fd5b80633ba86c441161027757806349f04867116102305780635c975abb1161020a5780635c975abb14610567578063631eaace14610572578063678501511461057b5780636a3ef0571461058e57600080fd5b806349f04867146105325780634f74379f1461053a578063517d04111461054d57600080fd5b80633ba86c44146104ac5780633db8e346146104c6578063408ca23e146104cf578063414468ad146104d757806342421eac146104ea57806345489e59146104f257600080fd5b806319d8ac61116102e457806329e022c0116102be57806329e022c01461042d5780632f1f59fc14610436578063387f8bdd1461045557806339db714f1461048f57600080fd5b806319d8ac61146103c45780631b9e61a0146103ef57806329bc0fe01461040257600080fd5b806304cb52c71461032c578063150b7a021461034857806316c38b3c14610374578063173ba202146103895780631745054a1461039c578063178367c8146103a4575b600080fd5b61033560115481565b6040519081526020015b60405180910390f35b61035b610356366004613a0a565b610845565b6040516001600160e01b0319909116815260200161033f565b610387610382366004613ab6565b610883565b005b610387610397366004613b1e565b6108f0565b61038761096f565b6103356103b2366004613b5f565b600a6020526000908152604090205481565b6010546103d7906001600160501b031681565b6040516001600160501b03909116815260200161033f565b6103876103fd366004613b1e565b610c08565b600554610415906001600160a01b031681565b6040516001600160a01b03909116815260200161033f565b61033560165481565b6014546104439060ff1681565b60405160ff909116815260200161033f565b610468610463366004613b5f565b610c74565b604080516001600160401b0390931683526001600160a01b0390911660208301520161033f565b60195461049c9060ff1681565b604051901515815260200161033f565b6017546103d790600160a01b90046001600160501b031681565b61033560135481565b610335610caf565b6103876104e5366004613b1e565b610cee565b610387610d68565b610505610500366004613b5f565b610db8565b6040805182516001600160401b031681526020928301516001600160a01b0316928101929092520161033f565b610335610e0a565b610335610548366004613b78565b610f4b565b6017546103d790600160501b90046001600160501b031681565b60025460ff1661049c565b610335600e5481565b610387610589366004613ba4565b610fef565b61038761059c366004613b1e565b61101f565b6103876105af366004613b1e565b6110c0565b6103356105c2366004613b5f565b600c6020526000908152604090205481565b610335600d5481565b610387611595565b6104156105f3366004613b5f565b6115a9565b61049c610606366004613b5f565b6115eb565b6000546001600160a01b0316610415565b61068261062a366004613b78565b60046020819052600091825260409091208054600182015460028301546003840154948401546005909401546001600160501b038416956001600160401b03600160501b8604811696600160901b9096041694909188565b60405161033f989796959493929190613bef565b6105056106a4366004613b5f565b611675565b61033560125481565b6103876106c0366004613b78565b6116c1565b6103356203f48081565b6103876106dd366004613b78565b6116d2565b60145461044390610100900460ff1681565b61033560155481565b61071061070b366004613b78565b6116fc565b60405161033f91906000610100820190506001600160501b03835116825260208301516001600160401b0380821660208501528060408601511660408501525050606083015160608301526080830151608083015260a083015160a083015260c083015160c083015260e083015160e083015292915050565b610335610797366004613b78565b6117f0565b6103876107aa366004613b1e565b611877565b610335600f5481565b610387611da3565b6103876107ce366004613b5f565b611f57565b6104156107e1366004613b5f565b611f64565b6017546103d7906001600160501b031681565b610468610807366004613c3c565b611f9c565b61038761081a366004613b78565b611fe5565b61038761082d366004613b78565b61205b565b600654610415906001600160a01b031681565b60405162461bcd60e51b815260206004820152600b60248201526a111bdb9d081858d8d95c1d60aa1b60448201526000906064015b60405180910390fd5b61088b61206c565b60195460ff16158061089f57506001811515145b6108d75760405162461bcd60e51b81526020600482015260096024820152682922a1a9aaa29027a760b91b604482015260640161087a565b80156108e8576108e56120c6565b50565b6108e5612120565b6108f861206c565b60005b8181101561096a5760006018600085858581811061091b5761091b613c5e565b90506020020160208101906109309190613b78565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061096281613c8a565b9150506108fb565b505050565b610977612159565b601754600160a01b90046001600160501b03164211156109a95760405162461bcd60e51b815260040161087a90613ca5565b336109b2610e0a565b601155601654156109d957601080546001600160501b031916426001600160501b03161790555b6109e1610caf565b601255600d54156109f2576000600f555b6001600160a01b03811660009081526004602052604090208054600190910154601154600160501b9092046001600160401b031691610a319190613cf7565b610a3b9190613d0e565b6001600160a01b03821660009081526004602052604081206002018054909190610a66908490613d2d565b90915550506001600160a01b038116600090815260046020819052604090912090810154600590910154601254610a9d9190613cf7565b610aa79190613d0e565b6001600160a01b03821660009081526004602052604081206003018054909190610ad2908490613d2d565b90915550506011546001600160a01b03821660009081526004602052604090206001810191909155601254600582015580546001600160501b031916426001600160501b0316179055610b2361219f565b6001600160a01b03811660008181526004602081905260409182902080546001820154600283015460038401549484015460059094015495517fffd51ba12f76e85158359e3844a7cfc45ae382d68e15462bc71b1572b435503796610bb3966001600160501b038616966001600160401b03600160501b8804811697600160901b90041695949391929091613bef565b60405180910390a2601654600e54600d54604080519384526020840192909252908201527fb13a504fd26708f47a01ed7f39d36e0bf2804e907be896692ecda20d65b64878906060015b60405180910390a150565b610c1061206c565b601754600160a01b90046001600160501b0316421015610c645760405162461bcd60e51b815260206004820152600f60248201526e139bdd08195e1c1a5c9959081e595d608a1b604482015260640161087a565b610c70828260016122de565b5050565b60098181548110610c8457600080fd5b6000918252602090912001546001600160401b0381169150600160401b90046001600160a01b031682565b6000600d54600014610ce757600d54600f54610ccb9083613d2d565b610cd59190613d5b565b601254610ce29190613d2d565b905090565b5060125490565b610cf661206c565b60005b8181101561096a57600160186000858585818110610d1957610d19613c5e565b9050602002016020810190610d2e9190613b78565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610d6081613c8a565b915050610cf9565b610d7061206c565b60025460ff16610d8257610d826120c6565b6017805469ffffffffffffffffffff60501b1916600160501b426001600160501b0316021790556019805460ff19166001179055565b60408051808201909152600080825260208201523360009081526018602052604090205460ff16610dfb5760405162461bcd60e51b815260040161087a90613d6f565b610e04826129ca565b92915050565b6017546000906001600160501b03164211610e26575060115490565b6017546010546001600160501b03600160501b9092048216911610610e4c575060115490565b601654610e5a575060115490565b6010546017546000916001600160501b03908116911611610e86576010546001600160501b0316610e93565b6017546001600160501b03165b90506000426017600a9054906101000a90046001600160501b03166001600160501b031610610ec25742610ed6565b601754600160501b90046001600160501b03165b9050816001600160501b0316816001600160501b031611610efb576011549250505090565b6016546013546203f48090610f108585613db3565b6001600160501b0316610f239190613d0e565b610f2d9190613d5b565b610f379190613d5b565b601154610f449190613d2d565b9250505090565b601754600090600160a01b90046001600160501b0316421115610f7057506000919050565b6000610f7a610e0a565b6001600160a01b03841660009081526004602052604090208054600190910154919250600160501b90046001600160401b031690610fb89083613cf7565b610fc29190613d0e565b6001600160a01b038416600090815260046020526040902060020154610fe89190613d2d565b9392505050565b610ff761206c565b6014805460ff9384166101000261ffff19909116948416949094179390931790925516601555565b601754600160a01b90046001600160501b03164211156110515760405162461bcd60e51b815260040161087a90613ca5565b60195460ff166110955760405162461bcd60e51b815260206004820152600f60248201526e149154d0d55148111254d050931151608a1b604482015260640161087a565b3233146110b45760405162461bcd60e51b815260040161087a90613ddb565b610c70828260006122de565b6110c8612159565b601754600160a01b90046001600160501b03164211156110fa5760405162461bcd60e51b815260040161087a90613ca5565b33611103610e0a565b6011556016541561112a57601080546001600160501b031916426001600160501b03161790555b611132610caf565b601255600d5415611143576000600f555b6001600160a01b03811660009081526004602052604090208054600190910154601154600160501b9092046001600160401b0316916111829190613cf7565b61118c9190613d0e565b6001600160a01b038216600090815260046020526040812060020180549091906111b7908490613d2d565b90915550506001600160a01b0381166000908152600460208190526040909120908101546005909101546012546111ee9190613cf7565b6111f89190613d0e565b6001600160a01b03821660009081526004602052604081206003018054909190611223908490613d2d565b90915550506011546001600160a01b03821660009081526004602052604090206001810191909155601254600582015580546001600160501b031916426001600160501b031617905533321461128b5760405162461bcd60e51b815260040161087a90613ddb565b60175442600160501b9091046001600160501b031611156112e35760405162461bcd60e51b815260206004820152601260248201527110d85b9b9bdd081d5b9cdd185ad9481e595d60721b604482015260640161087a565b60005b828110156114b05760055430906001600160a01b0316636352211e86868581811061131357611313613c5e565b90506020020160208101906113289190613e12565b6040516001600160e01b031960e084901b1681526001600160401b03909116600482015260240160206040518083038186803b15801561136757600080fd5b505afa15801561137b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061139f9190613e2f565b6001600160a01b0316146113ec5760405162461bcd60e51b8152602060048201526014602482015273139195081b9bdd081a5b881d1a1a5cc81c1bdbdb60621b604482015260640161087a565b61142484848381811061140157611401613c5e565b90506020020160208101906114169190613e12565b6001600160401b03166115eb565b156114665761146184848381811061143e5761143e613c5e565b90506020020160208101906114539190613e12565b6001600160401b0316612b3e565b61149e565b61149e84848381811061147b5761147b613c5e565b90506020020160208101906114909190613e12565b6001600160401b0316612ed7565b806114a881613c8a565b9150506112e6565b506001600160a01b03811660008181526004602081905260409182902080546001820154600283015460038401549484015460059094015495517fffd51ba12f76e85158359e3844a7cfc45ae382d68e15462bc71b1572b435503796611541966001600160501b038616966001600160401b03600160501b8804811697600160901b90041695949391929091613bef565b60405180910390a2601654600e54600d5460408051938452602084019290925282820152517fb13a504fd26708f47a01ed7f39d36e0bf2804e907be896692ecda20d65b648789181900360600190a1505050565b61159d61206c565b6115a76000613300565b565b3360009081526018602052604081205460ff166115d85760405162461bcd60e51b815260040161087a90613d6f565b6115e1826129ca565b6020015192915050565b6005546040516394e5684760e01b81526004810183905260009182916001600160a01b03909116906394e56847906024016102806040518083038186803b15801561163557600080fd5b505afa158015611649573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061166d9190613ea9565b519392505050565b60408051808201909152600080825260208201523360009081526018602052604090205460ff166116b85760405162461bcd60e51b815260040161087a90613d6f565b610e0482613350565b6116c961206c565b6108e5816133ee565b6116da61206c565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b61175f60405180610100016040528060006001600160501b0316815260200160006001600160401b0316815260200160006001600160401b0316815260200160008152602001600081526020016000815260200160008152602001600081525090565b506001600160a01b031660009081526004602081815260409283902083516101008101855281546001600160501b03811682526001600160401b03600160501b8204811694830194909452600160901b9004909216938201939093526001830154606082015260028301546080820152600383015460a08201529082015460c082015260059091015460e082015290565b601754600090600160a01b90046001600160501b031642111561181557506000919050565b6001600160a01b0382166000908152600460208190526040909120908101546005909101546012546118479190613cf7565b6118519190613d0e565b6001600160a01b038316600090815260046020526040902060030154610e049190613d2d565b61187f612159565b601754600160a01b90046001600160501b03164211156118b15760405162461bcd60e51b815260040161087a90613ca5565b336118ba610e0a565b601155601654156118e157601080546001600160501b031916426001600160501b03161790555b6118e9610caf565b601255600d54156118fa576000600f555b6001600160a01b03811660009081526004602052604090208054600190910154601154600160501b9092046001600160401b0316916119399190613cf7565b6119439190613d0e565b6001600160a01b0382166000908152600460205260408120600201805490919061196e908490613d2d565b90915550506001600160a01b0381166000908152600460208190526040909120908101546005909101546012546119a59190613cf7565b6119af9190613d0e565b6001600160a01b038216600090815260046020526040812060030180549091906119da908490613d2d565b90915550506011546001600160a01b03821660009081526004602052604090206001810191909155601254600582015580546001600160501b031916426001600160501b0316179055333214611a425760405162461bcd60e51b815260040161087a90613ddb565b60005b828110156114b0576005546001600160a01b031663e6b5a174858584818110611a7057611a70613c5e565b9050602002016020810190611a859190613e12565b6040516001600160e01b031960e084901b1681526001600160401b03909116600482015260240160206040518083038186803b158015611ac457600080fd5b505afa158015611ad8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611afc9190614025565b611b635760405162461bcd60e51b815260206004820152603260248201527f5468697320746f6b656e2063616e6e6f74206265207374616b6564207965742c604482015271207761697420612066657720626c6f636b7360701b606482015260840161087a565b60055433906001600160a01b0316636352211e868685818110611b8857611b88613c5e565b9050602002016020810190611b9d9190613e12565b6040516001600160e01b031960e084901b1681526001600160401b03909116600482015260240160206040518083038186803b158015611bdc57600080fd5b505afa158015611bf0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c149190613e2f565b6001600160a01b031614611c565760405162461bcd60e51b81526020600482015260096024820152684e4f5420594f55525360b81b604482015260640161087a565b6005546001600160a01b03166323b872dd3330878786818110611c7b57611c7b613c5e565b9050602002016020810190611c909190613e12565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526001600160401b03166044820152606401600060405180830381600087803b158015611ce857600080fd5b505af1158015611cfc573d6000803e3d6000fd5b50505050611d1584848381811061140157611401613c5e565b15611d5857611d5333858584818110611d3057611d30613c5e565b9050602002016020810190611d459190613e12565b6001600160401b0316613463565b611d91565b611d9133858584818110611d6e57611d6e613c5e565b9050602002016020810190611d839190613e12565b6001600160401b031661359f565b80611d9b81613c8a565b915050611a45565b611dab612159565b601754600160a01b90046001600160501b0316421115611ddd5760405162461bcd60e51b815260040161087a90613ca5565b33611de6610e0a565b60115560165415611e0d57601080546001600160501b031916426001600160501b03161790555b611e15610caf565b601255600d5415611e26576000600f555b6001600160a01b03811660009081526004602052604090208054600190910154601154600160501b9092046001600160401b031691611e659190613cf7565b611e6f9190613d0e565b6001600160a01b03821660009081526004602052604081206002018054909190611e9a908490613d2d565b90915550506001600160a01b038116600090815260046020819052604090912090810154600590910154601254611ed19190613cf7565b611edb9190613d0e565b6001600160a01b03821660009081526004602052604081206003018054909190611f06908490613d2d565b90915550506011546001600160a01b03821660009081526004602052604090206001810191909155601254600582015580546001600160501b031916426001600160501b0316179055610b23613739565b611f5f61206c565b601355565b3360009081526018602052604081205460ff16611f935760405162461bcd60e51b815260040161087a90613d6f565b6115e182613350565b600b6020528160005260406000208181548110611fb857600080fd5b6000918252602090912001546001600160401b0381169250600160401b90046001600160a01b0316905082565b611fed61206c565b6001600160a01b0381166120525760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161087a565b6108e581613300565b61206361206c565b6108e581613816565b6000546001600160a01b031633146115a75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161087a565b6120ce612159565b6002805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586121033390565b6040516001600160a01b03909116815260200160405180910390a1565b612128613888565b6002805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa33612103565b60025460ff16156115a75760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640161087a565b336000818152600460205260409020600201548015610c70576001600160a01b03821660009081526004602052604081206002018190556015546064906121e69084613d0e565b6121f09190613d5b565b90506121fb816138d1565b6006546001600160a01b03166340c10f19846122178486613cf7565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381600087803b15801561225d57600080fd5b505af1158015612271573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122959190614025565b50337f4ea01485109aaa46acd23e8506c56e1ec9433b55fd697731e7a197e581847c1e6122c28385613cf7565b60408051918252602082018590520160405180910390a2505050565b60006122fa604080518082019091526000808252602082015290565b60408051808201909152600080825260208201526000805b868110156129c05787878281811061232c5761232c613c5e565b90506020020135945061233e856115eb565b15612634576000858152600a602052604090205460098054909190811061236757612367613c5e565b6000918252602091829020604080518082019091529101546001600160401b0381168252600160401b90046001600160a01b031691810191909152935085806123bc575060208401516001600160a01b031633145b6123f05760405162461bcd60e51b81526020600482015260056024820152644e4f2d4e4f60d81b604482015260640161087a565b6001601660008282546124039190613cf7565b90915550506020848101516001600160a01b03166000908152600490915260409020805460019190600a90612449908490600160501b90046001600160401b0316614042565b92506101000a8154816001600160401b0302191690836001600160401b03160217905550600960016009805490506124819190613cf7565b8154811061249157612491613c5e565b6000918252602080832060408051808201825291909301546001600160401b03811682526001600160a01b03600160401b9091041681830152888452600a90915291205460098054929550859290919081106124ef576124ef613c5e565b60009182526020808320845192018054948201516001600160a01b0316600160401b026001600160e01b03199095166001600160401b039384161794909417909355878252600a90925260408082205486519093168252902055600980548061255a5761255a614062565b60008281526020808220830160001990810180546001600160e01b0319169055909201909255868252600a905260408120556005546001600160a01b031663b88d4fde30886125ad5786602001516125ba565b6000546001600160a01b03165b886040518463ffffffff1660e01b81526004016125d993929190614078565b600060405180830381600087803b1580156125f357600080fd5b505af1158015612607573d6000803e3d6000fd5b505060405160018152879250600080516020614104833981519152915060200160405180910390a26129ae565b61263d8561392a565b61ffff166000818152600b60209081526040808320898452600c9092529091205481549294509091811061267357612673613c5e565b6000918252602091829020604080518082019091529101546001600160401b0381168252600160401b90046001600160a01b031691810191909152935085806126c8575060208401516001600160a01b031633145b6126fc5760405162461bcd60e51b81526020600482015260056024820152644e4f2d4e4f60d81b604482015260640161087a565b6001600e600082825461270f9190613cf7565b90915550506020848101516001600160a01b03166000908152600490915260409020805460019190601290612755908490600160901b90046001600160401b0316614042565b92506101000a8154816001600160401b0302191690836001600160401b03160217905550816004600086602001516001600160a01b03166001600160a01b0316815260200190815260200160002060040160008282546127b59190613cf7565b9250508190555081600d60008282546127ce9190613cf7565b90915550506000828152600b6020526040902080546127ef90600190613cf7565b815481106127ff576127ff613c5e565b6000918252602080832060408051808201825293909101546001600160401b0381168452600160401b90046001600160a01b031683830152858452600b8252808420898552600c909252909220548254919550859291811061286357612863613c5e565b60009182526020808320845192018054948201516001600160a01b0316600160401b026001600160e01b03199095166001600160401b039384161794909417909355878252600c83526040808320548751909216835280832091909155848252600b909252208054806128d8576128d8614062565b60008281526020808220830160001990810180546001600160e01b0319169055909201909255868252600c905260408120556005546001600160a01b031663b88d4fde308861292b578660200151612938565b6000546001600160a01b03165b886040518463ffffffff1660e01b815260040161295793929190614078565b600060405180830381600087803b15801561297157600080fd5b505af1158015612985573d6000803e3d6000fd5b505060405160008152879250600080516020614104833981519152915060200160405180910390a25b806129b881613c8a565b915050612312565b5050505050505050565b6040805180820190915260008082526020820152600d546129fe575050604080518082019091526000808252602082015290565b6000600d548365ffffffffffff16612a1691906140ab565b90506000603084901c935060005b600354811015612b2157600060038281548110612a4357612a43613c5e565b60009182526020808320601083040154600f9092166002026101000a90910461ffff16808352600b909152604090912054909150612a82908290613d0e565b612a8c9084613d2d565b9250828410612a9b5750612b0f565b61ffff81166000908152600b602052604090208054612aba90886140ab565b81548110612aca57612aca613c5e565b6000918252602091829020604080518082019091529101546001600160401b0381168252600160401b90046001600160a01b0316918101919091529695505050505050565b80612b1981613c8a565b915050612a24565b505060408051808201909152600080825260208201529392505050565b6000818152600a6020526040812054600980549091908110612b6257612b62613c5e565b6000918252602091829020604080518082019091529101546001600160401b0381168252600160401b90046001600160a01b031691810182905291503314612bdb5760405162461bcd60e51b815260206004820152600c60248201526b139bdd081e5bdd5c8813919560a21b604482015260640161087a565b600160166000828254612bee9190613cf7565b9091555050336000908152600460205260409020805460019190600a90612c26908490600160501b90046001600160401b0316614042565b82546001600160401b039182166101009390930a9283029190920219909116179055506020810151600754600880546000926001600160a01b03169163b863bd37919084612c7383613c8a565b919050556040518263ffffffff1660e01b8152600401612c9591815260200190565b60206040518083038186803b158015612cad57600080fd5b505afa158015612cc1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ce591906140bf565b90506000600d54118015612d0c5750601454610100900460ff16612d0a6064836140ab565b105b15612d245760081c612d1d816129ca565b6020015191505b600554604051635c46a7ef60e11b81526001600160a01b039091169063b88d4fde90612d5890309086908990600401614078565b600060405180830381600087803b158015612d7257600080fd5b505af1158015612d86573d6000803e3d6000fd5b50505050600060096001600980549050612da09190613cf7565b81548110612db057612db0613c5e565b6000918252602080832060408051808201825291909301546001600160401b03811682526001600160a01b03600160401b9091041681830152888452600a9091529120546009805492935083929091908110612e0e57612e0e613c5e565b60009182526020808320845192018054948201516001600160a01b0316600160401b026001600160e01b03199095166001600160401b039384161794909417909355878252600a909252604080822054845190931682529020556009805480612e7957612e79614062565b60008281526020808220600019908401810180546001600160e01b0319169055909201909255868252600a81526040808320929092559051600181528691600080516020614104833981519152910160405180910390a25050505050565b6000612ee28261392a565b61ffff166000818152600b60209081526040808320868452600c909252822054815493945091929091908110612f1a57612f1a613c5e565b6000918252602091829020604080518082019091529101546001600160401b0381168252600160401b90046001600160a01b031691810182905291503314612f935760405162461bcd60e51b815260206004820152600c60248201526b139bdd081e5bdd5c8813919560a21b604482015260640161087a565b81600d6000828254612fa59190613cf7565b90915550506000828152600b602052604081208054612fc690600190613cf7565b81548110612fd657612fd6613c5e565b6000918252602080832060408051808201825293909101546001600160401b0381168452600160401b90046001600160a01b031683830152868452600b8252808420888552600c909252909220548254919350839291811061303a5761303a613c5e565b60009182526020808320845192018054948201516001600160a01b0316600160401b026001600160e01b03199095166001600160401b039384161794909417909355868252600c83526040808320548551909216835280832091909155858252600b909252208054806130af576130af614062565b600082815260208120820160001990810180546001600160e01b0319169055909101909155600e8054600192906130e7908490613cf7565b909155505033600090815260046020526040902080546001919060129061311f908490600160901b90046001600160401b0316614042565b92506101000a8154816001600160401b0302191690836001600160401b03160217905550826004600061314f3390565b6001600160a01b03166001600160a01b0316815260200190815260200160002060040160008282546131819190613cf7565b90915550506000848152600c602090815260408220829055830151600754600880549293926001600160a01b039092169163b863bd3791846131c283613c8a565b919050556040518263ffffffff1660e01b81526004016131e491815260200190565b60206040518083038186803b1580156131fc57600080fd5b505afa158015613210573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061323491906140bf565b90506000600d54118015613256575060145460ff166132546064836140ab565b105b1561326e5760081c613267816129ca565b6020015191505b600554604051635c46a7ef60e11b81526001600160a01b039091169063b88d4fde906132a290309086908b90600401614078565b600060405180830381600087803b1580156132bc57600080fd5b505af11580156132d0573d6000803e3d6000fd5b505060405160008152889250600080516020614104833981519152915060200160405180910390a2505050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040805180820190915260008082526020820152601654613384575050604080518082019091526000808252602082015290565b6009601654836001600160401b031661339d91906140ab565b815481106133ad576133ad613c5e565b6000918252602091829020604080518082019091529101546001600160401b0381168252600160401b90046001600160a01b03169181019190915292915050565b6001600160a01b03811660009081526001602052604090205460ff166108e5576001600160a01b038116600081815260016020818152604092839020805460ff191690921790915590519182527f0a8bb31534c0ed46f380cb867bd5c803a189ced9a764e30b3a4991a9901d74749101610bfd565b6001601660008282546134769190613d2d565b90915550506001600160a01b0382166000908152600460205260409020805460019190600a906134b7908490600160501b90046001600160401b03166140d8565b82546001600160401b039182166101009390930a928302928202191691909117909155600980546000858152600a602090815260408083208490558051808201825288871681526001600160a01b038a811682850181815260018881018a559890965291517f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af90960180549551909116600160401b026001600160e01b031990951695909716949094179290921790945551918252849350917f9da5162701261054b93c96575245a40690254e1b61b36fab3847b22a7bdaf687910160405180910390a35050565b60006135aa8261392a565b61ffff16905080600d60008282546135c29190613d2d565b925050819055506001600e60008282546135dc9190613d2d565b90915550506001600160a01b038316600090815260046020526040902080546001919060129061361d908490600160901b90046001600160401b03166140d8565b92506101000a8154816001600160401b0302191690836001600160401b031602179055508060046000856001600160a01b03166001600160a01b0316815260200190815260200160002060040160008282546136799190613d2d565b90915550506000818152600b602081815260408084208054878652600c8452828620819055938352815180830183526001600160401b0380891682526001600160a01b03808b1683870181815260018901865594895295882092519290960180549351909616600160401b026001600160e01b031990931691161717909255905184927f9da5162701261054b93c96575245a40690254e1b61b36fab3847b22a7bdaf6879161372c911515815260200190565b60405180910390a3505050565b33600081815260046020526040812060030180549190558015610c70576006546040516340c10f1960e01b81526001600160a01b03848116600483015260248201849052909116906340c10f1990604401602060405180830381600087803b1580156137a457600080fd5b505af11580156137b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137dc9190614025565b5060405181815233907fe46e2f4ae44119e2e1a7b438d5e700f7e7e6015f3f3a0539c4debed0fa3163939060200160405180910390a25050565b6001600160a01b03811660009081526001602052604090205460ff16156108e5576001600160a01b038116600081815260016020908152604091829020805460ff1916905590519182527f33d83959be2573f5453b12eb9d43b3499bc57d96bd2f067ba44803c859e811139101610bfd565b60025460ff166115a75760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015260640161087a565b600d546138f25780600f60008282546138ea9190613d2d565b909155505050565b600d54600f546139029083613d2d565b61390c9190613d5b565b6012600082825461391d9190613d2d565b90915550506000600f5550565b6005546040516394e5684760e01b81526004810183905260009182916001600160a01b03909116906394e56847906024016102806040518083038186803b15801561397457600080fd5b505afa158015613988573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139ac9190613ea9565b9050600381610120015160ff16815481106139c9576139c9613c5e565b90600052602060002090601091828204019190066002029054906101000a900461ffff16915050919050565b6001600160a01b03811681146108e557600080fd5b600080600080600060808688031215613a2257600080fd5b8535613a2d816139f5565b94506020860135613a3d816139f5565b93506040860135925060608601356001600160401b0380821115613a6057600080fd5b818801915088601f830112613a7457600080fd5b813581811115613a8357600080fd5b896020828501011115613a9557600080fd5b9699959850939650602001949392505050565b80151581146108e557600080fd5b600060208284031215613ac857600080fd5b8135610fe881613aa8565b60008083601f840112613ae557600080fd5b5081356001600160401b03811115613afc57600080fd5b6020830191508360208260051b8501011115613b1757600080fd5b9250929050565b60008060208385031215613b3157600080fd5b82356001600160401b03811115613b4757600080fd5b613b5385828601613ad3565b90969095509350505050565b600060208284031215613b7157600080fd5b5035919050565b600060208284031215613b8a57600080fd5b8135610fe8816139f5565b60ff811681146108e557600080fd5b600080600060608486031215613bb957600080fd5b8335613bc481613b95565b92506020840135613bd481613b95565b91506040840135613be481613b95565b809150509250925092565b6001600160501b039890981688526001600160401b0396871660208901529490951660408701526060860192909252608085015260a084015260c083019190915260e08201526101000190565b60008060408385031215613c4f57600080fd5b50508035926020909101359150565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600019821415613c9e57613c9e613c74565b5060010190565b60208082526032908201527f446561646c696e6520666f7220636c61696d696e672066726f6d2074686973206040820152710e0deded840d0c2e640e0c2e6e6cac84074560731b606082015260800190565b600082821015613d0957613d09613c74565b500390565b6000816000190483118215151615613d2857613d28613c74565b500290565b60008219821115613d4057613d40613c74565b500190565b634e487b7160e01b600052601260045260246000fd5b600082613d6a57613d6a613d45565b500490565b60208082526024908201527f4e6f7420616c6c6f77656420746f20726571756573742072616e646f6d20737460408201526330b5b2b960e11b606082015260800190565b60006001600160501b0383811690831681811015613dd357613dd3613c74565b039392505050565b6020808252600890820152674f6e6c7920454f4160c01b604082015260600190565b6001600160401b03811681146108e557600080fd5b600060208284031215613e2457600080fd5b8135610fe881613dfd565b600060208284031215613e4157600080fd5b8151610fe8816139f5565b60405161028081016001600160401b0381118282101715613e7d57634e487b7160e01b600052604160045260246000fd5b60405290565b8051613e8e81613aa8565b919050565b8051613e8e81613b95565b8051613e8e81613dfd565b60006102808284031215613ebc57600080fd5b613ec4613e4c565b613ecd83613e83565b8152613edb60208401613e93565b6020820152613eec60408401613e93565b6040820152613efd60608401613e93565b6060820152613f0e60808401613e93565b6080820152613f1f60a08401613e93565b60a0820152613f3060c08401613e93565b60c0820152613f4160e08401613e93565b60e0820152610100613f54818501613e93565b90820152610120613f66848201613e93565b90820152610140613f78848201613e9e565b90820152610160613f8a848201613e93565b90820152610180613f9c848201613e93565b908201526101a0613fae848201613e93565b908201526101c0613fc0848201613e93565b908201526101e0613fd2848201613e93565b90820152610200613fe4848201613e93565b90820152610220613ff6848201613e93565b90820152610240614008848201613e93565b9082015261026061401a848201613e93565b908201529392505050565b60006020828403121561403757600080fd5b8151610fe881613aa8565b60006001600160401b0383811690831681811015613dd357613dd3613c74565b634e487b7160e01b600052603160045260246000fd5b6001600160a01b039384168152919092166020820152604081019190915260806060820181905260009082015260a00190565b6000826140ba576140ba613d45565b500690565b6000602082840312156140d157600080fd5b5051919050565b60006001600160401b038083168185168083038211156140fa576140fa613c74565b0194935050505056fecf0b299cf314581d21610e2d6c4433dc38d0c4235ce87acc50645de8f41a8913a2646970667358221220b11bf730779f38fad24bc66f8d78fed783c8a2c6916e60e3d27fe4f13e74b04b64736f6c6343000809003300000000000000000000000068d2e2db5924b44ef851411825fd57d7ebfac5a70000000000000000000000008605d0230d5df8e2a20d8e50f9460e42b4657cbb000000000000000000000000c85688f08343db0f480ddab8a2de9292861f9ba70000000000000000000000000000000000000000000000000000000062eabea8

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

00000000000000000000000068d2e2db5924b44ef851411825fd57d7ebfac5a70000000000000000000000008605d0230d5df8e2a20d8e50f9460e42b4657cbb000000000000000000000000c85688f08343db0f480ddab8a2de9292861f9ba70000000000000000000000000000000000000000000000000000000062eabea8

-----Decoded View---------------
Arg [0] : _preypredator (address): 0x68d2e2db5924b44ef851411825fd57d7ebfac5a7
Arg [1] : _rewardtoken (address): 0x8605d0230d5df8e2a20d8e50f9460e42b4657cbb
Arg [2] : _entropy (address): 0xc85688f08343db0f480ddab8a2de9292861f9ba7
Arg [3] : _stakingStart (uint80): 1659551400

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 00000000000000000000000068d2e2db5924b44ef851411825fd57d7ebfac5a7
Arg [1] : 0000000000000000000000008605d0230d5df8e2a20d8e50f9460e42b4657cbb
Arg [2] : 000000000000000000000000c85688f08343db0f480ddab8a2de9292861f9ba7
Arg [3] : 0000000000000000000000000000000000000000000000000000000062eabea8


Deployed ByteCode Sourcemap

99240:23565:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;101351:33;;;;;;;;;160:25:1;;;148:2;133:18;101351:33:0;;;;;;;;122610:192;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;;1435:33:1;;;1417:52;;1405:2;1390:18;122610:192:0;1273:202:1;117876:184:0;;;;;;:::i;:::-;;:::i;:::-;;117577:224;;;;;;:::i;:::-;;:::i;115708:168::-;;;:::i;100712:46::-;;;;;;:::i;:::-;;;;;;;;;;;;;;101253:27;;;;;-1:-1:-1;;;;;101253:27:0;;;;;;-1:-1:-1;;;;;3010:35:1;;;2992:54;;2980:2;2965:18;101253:27:0;2848:204:1;109725:184:0;;;;;;:::i;:::-;;:::i;100372:32::-;;;;;-1:-1:-1;;;;;100372:32:0;;;;;;-1:-1:-1;;;;;3684:32:1;;;3666:51;;3654:2;3639:18;100372:32:0;3499:224:1;102328:30:0;;;;;;101755:45;;;;;;;;;;;;3900:4:1;3888:17;;;3870:36;;3858:2;3843:18;101755:45:0;3728:184:1;100641:19:0;;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;4107:31:1;;;4089:50;;-1:-1:-1;;;;;4175:32:1;;;4170:2;4155:18;;4148:60;4062:18;100641:19:0;3917:297:1;102816:33:0;;;;;;;;;;;;4384:14:1;;4377:22;4359:41;;4347:2;4332:18;102816:33:0;4219:187:1;102527:27:0;;;;;-1:-1:-1;;;102527:27:0;;-1:-1:-1;;;;;102527:27:0;;;101560:46;;;;;;115306:365;;;:::i;117374:195::-;;;;;;:::i;:::-;;:::i;117060:194::-;;;:::i;121380:291::-;;;;;;:::i;:::-;;:::i;:::-;;;;4625:13:1;;-1:-1:-1;;;;;4621:38:1;4603:57;;4720:4;4708:17;;;4702:24;-1:-1:-1;;;;;4698:50:1;4676:20;;;4669:80;;;;4576:18;121380:291:0;4411:344:1;114551:747:0;;;:::i;118935:390::-;;;;;;:::i;:::-;;:::i;102464:24::-;;;;;-1:-1:-1;;;102464:24:0;;-1:-1:-1;;;;;102464:24:0;;;73974:86;74045:7;;;;73974:86;;101053:35;;;;;;101968:310;;;;;;:::i;:::-;;:::i;109498:219::-;;;;;;:::i;:::-;;:::i;106241:636::-;;;;;;:::i;:::-;;:::i;100920:46::-;;;;;;:::i;:::-;;;;;;;;;;;;;;101007:31;;;;;;68072:103;;;:::i;120880:292::-;;;;;;:::i;:::-;;:::i;118254:222::-;;;;;;:::i;:::-;;:::i;67424:87::-;67470:7;67497:6;-1:-1:-1;;;;;67497:6:0;67424:87;;99488:45;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;99488:45:0;;;-1:-1:-1;;;;;;;;99488:45:0;;;;;-1:-1:-1;;;99488:45:0;;;;;;;;;;;;;;;;;;;;;;;:::i;120294:283::-;;;;;;:::i;:::-;;:::i;101456:34::-;;;;;;71516:108;;;;;;:::i;:::-;;:::i;101499:42::-;;101532:9;101499:42;;117262:104;;;;;;:::i;:::-;;:::i;101807:42::-;;;;;;;;;;;;101912:47;;;;;;119706:153;;;;;;:::i;:::-;;:::i;:::-;;;;;;7210:4:1;7252:3;7241:9;7237:19;7229:27;;-1:-1:-1;;;;;7293:6:1;7287:13;7283:42;7272:9;7265:61;7373:4;7365:6;7361:17;7355:24;-1:-1:-1;;;;;7472:2:1;7458:12;7454:21;7447:4;7436:9;7432:20;7425:51;7544:2;7536:4;7528:6;7524:17;7518:24;7514:33;7507:4;7496:9;7492:20;7485:63;;;7604:4;7596:6;7592:17;7586:24;7579:4;7568:9;7564:20;7557:54;7667:4;7659:6;7655:17;7649:24;7642:4;7631:9;7627:20;7620:54;7730:4;7722:6;7718:17;7712:24;7705:4;7694:9;7690:20;7683:54;7793:4;7785:6;7781:17;7775:24;7768:4;7757:9;7753:20;7746:54;7856:4;7848:6;7844:17;7838:24;7831:4;7820:9;7816:20;7809:54;7064:805;;;;;119333:365:0;;;;;;:::i;:::-;;:::i;103771:927::-;;;;;;:::i;:::-;;:::i;101156:33::-;;;;;;116373:168;;;:::i;101630:117::-;;;;;;:::i;:::-;;:::i;119867:252::-;;;;;;:::i;:::-;;:::i;102399:26::-;;;;;-1:-1:-1;;;;;102399:26:0;;;100825:39;;;;;;:::i;:::-;;:::i;68330:201::-;;;;;;:::i;:::-;;:::i;71963:113::-;;;;;;:::i;:::-;;:::i;100491:30::-;;;;;-1:-1:-1;;;;;100491:30:0;;;122610:192;122773:21;;-1:-1:-1;;;122773:21:0;;8555:2:1;122773:21:0;;;8537::1;8594:2;8574:18;;;8567:30;-1:-1:-1;;;8613:18:1;;;8606:41;122754:6:0;;8664:18:1;;122773:21:0;;;;;;;;117876:184;67310:13;:11;:13::i;:::-;117948::::1;::::0;::::1;;117947:14;::::0;:33:::1;;-1:-1:-1::0;117976:4:0::1;117965:15:::0;::::1;;;117947:33;117939:55;;;::::0;-1:-1:-1;;;117939:55:0;;8895:2:1;117939:55:0::1;::::0;::::1;8877:21:1::0;8934:1;8914:18;;;8907:29;-1:-1:-1;;;8952:18:1;;;8945:39;9001:18;;117939:55:0::1;8693:332:1::0;117939:55:0::1;118009:7;118005:47;;;118018:8;:6;:8::i;:::-;117876:184:::0;:::o;118005:47::-:1;118042:10;:8;:10::i;117577:224::-:0;67310:13;:11;:13::i;:::-;117696:9:::1;117691:103;117711:16:::0;;::::1;117691:103;;;117777:5;117749:15;:25;117765:5;;117771:1;117765:8;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;117749:25:0::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;117749:25:0;:33;;-1:-1:-1;;117749:33:0::1;::::0;::::1;;::::0;;;::::1;::::0;;117729:3;::::1;::::0;::::1;:::i;:::-;;;;117691:103;;;;117577:224:::0;;:::o;115708:168::-;73579:19;:17;:19::i;:::-;112911:13:::1;::::0;-1:-1:-1;;;112911:13:0;::::1;-1:-1:-1::0;;;;;112911:13:0::1;112892:15;:32;;112870:132;;;;-1:-1:-1::0;;;112870:132:0::1;;;;;;;:::i;:::-;115822:10:::2;113170:18;:16;:18::i;:::-;113149;:39:::0;113203:15:::2;::::0;:20;113199:65:::2;;113225:13;:39:::0;;-1:-1:-1;;;;;;113225:39:0::2;113248:15;-1:-1:-1::0;;;;;113225:39:0::2;;::::0;;113199:65:::2;113297:19;:17;:19::i;:::-;113275;:41:::0;113331:16:::2;::::0;:21;113327:76:::2;;113390:1;113369:18;:22:::0;113327:76:::2;-1:-1:-1::0;;;;;113579:15:0;::::2;;::::0;;;:8:::2;:15;::::0;;;;:26;;113529:33:::2;::::0;;::::2;::::0;113508:18:::2;::::0;-1:-1:-1;;;113579:26:0;;::::2;-1:-1:-1::0;;;;;113579:26:0::2;::::0;113508:54:::2;::::0;113529:33;113508:54:::2;:::i;:::-;113507:98;;;;:::i;:::-;-1:-1:-1::0;;;;;113455:15:0;::::2;;::::0;;;:8:::2;:15;::::0;;;;:35:::2;;:150:::0;;:35;;:15;:150:::2;::::0;;;::::2;:::i;:::-;::::0;;;-1:-1:-1;;;;;;;113742:15:0;::::2;;::::0;;;:8:::2;:15;::::0;;;;;;;:27;;::::2;::::0;113691:34:::2;::::0;;::::2;::::0;113669:19:::2;::::0;:56:::2;::::0;113691:34;113669:56:::2;:::i;:::-;113668:101;;;;:::i;:::-;-1:-1:-1::0;;;;;113616:15:0;::::2;;::::0;;;:8:::2;:15;::::0;;;;:35:::2;;:153:::0;;:35;;:15;:153:::2;::::0;;;::::2;:::i;:::-;::::0;;;-1:-1:-1;;113816:18:0::2;::::0;-1:-1:-1;;;;;113780:15:0;::::2;;::::0;;;:8:::2;:15;::::0;;;;:33:::2;::::0;::::2;:54:::0;;;;113882:19:::2;::::0;113845:34:::2;::::0;::::2;:56:::0;113912:55;;-1:-1:-1;;;;;;113912:55:0::2;113951:15;-1:-1:-1::0;;;;;113912:55:0::2;;::::0;;115850:18:::3;:16;:18::i;:::-;-1:-1:-1::0;;;;;113999:416:0;::::2;114049:15;::::0;;;:8:::2;:15;::::0;;;;;;;;:29;;;114180:33;::::2;::::0;114228:35:::2;::::0;::::2;::::0;114278::::2;::::0;::::2;::::0;114328:27;;::::2;::::0;114370:34:::2;::::0;;::::2;::::0;113999:416;;::::2;::::0;::::2;::::0;-1:-1:-1;;;;;114049:29:0;::::2;::::0;-1:-1:-1;;;;;;;;114093:26:0;::::2;::::0;::::2;::::0;-1:-1:-1;;;114134:31:0;::::2;;::::0;114180:33;114228:35;114278;;114328:27;;113999:416:::2;:::i;:::-;;;;;;;;114447:15;::::0;114464:20:::2;::::0;114486:16:::2;::::0;114431:72:::2;::::0;;10491:25:1;;;10547:2;10532:18;;10525:34;;;;10575:18;;;10568:34;114431:72:0::2;::::0;10479:2:1;10464:18;114431:72:0::2;;;;;;;;113013:1;115708:168::o:0;109725:184::-;67310:13;:11;:13::i;:::-;109834::::1;::::0;-1:-1:-1;;;109834:13:0;::::1;-1:-1:-1::0;;;;;109834:13:0::1;109815:15;:32;;109807:60;;;::::0;-1:-1:-1;;;109807:60:0;;10815:2:1;109807:60:0::1;::::0;::::1;10797:21:1::0;10854:2;10834:18;;;10827:30;-1:-1:-1;;;10873:18:1;;;10866:45;10928:18;;109807:60:0::1;10613:339:1::0;109807:60:0::1;109878:23;109886:8;;109896:4;109878:7;:23::i;:::-;109725:184:::0;;:::o;100641:19::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;100641:19:0;;;-1:-1:-1;;;;100641:19:0;;-1:-1:-1;;;;;100641:19:0;;:::o;115306:365::-;115356:14;115387:16;;115407:1;115387:21;115383:244;;115599:16;;115560:18;;115551:27;;:6;:27;:::i;:::-;115550:65;;;;:::i;:::-;115511:19;;:104;;;;:::i;:::-;115487:128;;115306:365;:::o;115383:244::-;-1:-1:-1;115644:19:0;;;115306:365::o;117374:195::-;67310:13;:11;:13::i;:::-;117465:9:::1;117460:102;117480:16:::0;;::::1;117460:102;;;117546:4;117518:15;:25;117534:5;;117540:1;117534:8;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;117518:25:0::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;117518:25:0;:32;;-1:-1:-1;;117518:32:0::1;::::0;::::1;;::::0;;;::::1;::::0;;117498:3;::::1;::::0;::::1;:::i;:::-;;;;117460:102;;117060:194:::0;67310:13;:11;:13::i;:::-;74045:7;;;;117118:23:::1;;117133:8;:6;:8::i;:::-;117179:10;:36:::0;;-1:-1:-1;;;;117179:36:0::1;-1:-1:-1::0;;;117199:15:0::1;-1:-1:-1::0;;;;;117179:36:0::1;;;::::0;;117226:13:::1;:20:::0;;-1:-1:-1;;117226:20:0::1;-1:-1:-1::0;117226:20:0::1;::::0;;117060:194::o;121380:291::-;-1:-1:-1;;;;;;;;;;;;;;;;;121544:10:0;121528:27;;;;:15;:27;;;;;;;;121506:113;;;;-1:-1:-1;;;121506:113:0;;;;;;;:::i;:::-;121637:26;121658:4;121637:20;:26::i;:::-;121630:33;121380:291;-1:-1:-1;;121380:291:0:o;114551:747::-;114650:12;;114600:14;;-1:-1:-1;;;;;114650:12:0;114631:15;:31;114627:62;;-1:-1:-1;114671:18:0;;;114551:747::o;114627:62::-;114721:10;;114704:13;;-1:-1:-1;;;;;;;;114721:10:0;;;;;114704:13;;:27;114700:58;;-1:-1:-1;114740:18:0;;;114551:747::o;114700:58::-;114773:15;;114769:51;;-1:-1:-1;114802:18:0;;;114551:747::o;114769:51::-;114867:13;;114852:12;;114831:18;;-1:-1:-1;;;;;114867:13:0;;;114852:12;;:28;:85;;114924:13;;-1:-1:-1;;;;;114924:13:0;114852:85;;;114896:12;;-1:-1:-1;;;;;114896:12:0;114852:85;114831:106;;114948:16;115001:15;114988:10;;;;;;;;;-1:-1:-1;;;;;114988:10:0;-1:-1:-1;;;;;114988:28:0;;:59;;115032:15;114988:59;;;115019:10;;-1:-1:-1;;;115019:10:0;;-1:-1:-1;;;;;115019:10:0;114988:59;114948:110;;115086:11;-1:-1:-1;;;;;115073:24:0;:9;-1:-1:-1;;;;;115073:24:0;;115069:55;;115106:18;;115099:25;;;;114551:747;:::o;115069:55::-;115275:15;;115218:18;;101532:9;;115191:23;115203:11;115191:9;:23;:::i;:::-;-1:-1:-1;;;;;115190:46:0;;;;;:::i;:::-;115189:70;;;;:::i;:::-;:101;;;;:::i;:::-;115155:18;;:135;;;;:::i;:::-;115135:155;;;;114551:747;:::o;118935:390::-;119086:13;;119032:14;;-1:-1:-1;;;119086:13:0;;-1:-1:-1;;;;;119086:13:0;119068:15;:31;119064:45;;;-1:-1:-1;119108:1:0;;118935:390;-1:-1:-1;118935:390:0:o;119064:45::-;119120:11;119134:18;:16;:18::i;:::-;-1:-1:-1;;;;;119291:15:0;;;;;;:8;:15;;;;;:26;;119241:33;;;;;119120:32;;-1:-1:-1;;;;119291:26:0;;-1:-1:-1;;;;;119291:26:0;;119235:39;;119120:32;119235:39;:::i;:::-;119234:83;;;;:::i;:::-;-1:-1:-1;;;;;119183:15:0;;;;;;:8;:15;;;;;:35;;;:134;;;;:::i;:::-;119163:154;118935:390;-1:-1:-1;;;118935:390:0:o;101968:310::-;67310:13;:11;:13::i;:::-;102120:28:::1;:47:::0;;::::1;102178:39:::0;;::::1;102120:47;102178:39;-1:-1:-1::0;;102178:39:0;;;102120:47;;::::1;102178:39:::0;;;;;;;::::1;::::0;;;102228:42:::1;:27;:42:::0;101968:310::o;109498:219::-;112911:13;;-1:-1:-1;;;112911:13:0;;-1:-1:-1;;;;;112911:13:0;112892:15;:32;;112870:132;;;;-1:-1:-1;;;112870:132:0;;;;;;;:::i;:::-;109586:13:::1;::::0;::::1;;109578:41;;;::::0;-1:-1:-1;;;109578:41:0;;12059:2:1;109578:41:0::1;::::0;::::1;12041:21:1::0;12098:2;12078:18;;;12071:30;-1:-1:-1;;;12117:18:1;;;12110:45;12172:18;;109578:41:0::1;11857:339:1::0;109578:41:0::1;109638:9;109651:10;109638:23;109630:44;;;;-1:-1:-1::0;;;109630:44:0::1;;;;;;;:::i;:::-;109685:24;109693:8;;109703:5;109685:7;:24::i;106241:636::-:0;73579:19;:17;:19::i;:::-;112911:13:::1;::::0;-1:-1:-1;;;112911:13:0;::::1;-1:-1:-1::0;;;;;112911:13:0::1;112892:15;:32;;112870:132;;;;-1:-1:-1::0;;;112870:132:0::1;;;;;;;:::i;:::-;106383:10:::2;113170:18;:16;:18::i;:::-;113149;:39:::0;113203:15:::2;::::0;:20;113199:65:::2;;113225:13;:39:::0;;-1:-1:-1;;;;;;113225:39:0::2;113248:15;-1:-1:-1::0;;;;;113225:39:0::2;;::::0;;113199:65:::2;113297:19;:17;:19::i;:::-;113275;:41:::0;113331:16:::2;::::0;:21;113327:76:::2;;113390:1;113369:18;:22:::0;113327:76:::2;-1:-1:-1::0;;;;;113579:15:0;::::2;;::::0;;;:8:::2;:15;::::0;;;;:26;;113529:33:::2;::::0;;::::2;::::0;113508:18:::2;::::0;-1:-1:-1;;;113579:26:0;;::::2;-1:-1:-1::0;;;;;113579:26:0::2;::::0;113508:54:::2;::::0;113529:33;113508:54:::2;:::i;:::-;113507:98;;;;:::i;:::-;-1:-1:-1::0;;;;;113455:15:0;::::2;;::::0;;;:8:::2;:15;::::0;;;;:35:::2;;:150:::0;;:35;;:15;:150:::2;::::0;;;::::2;:::i;:::-;::::0;;;-1:-1:-1;;;;;;;113742:15:0;::::2;;::::0;;;:8:::2;:15;::::0;;;;;;;:27;;::::2;::::0;113691:34:::2;::::0;;::::2;::::0;113669:19:::2;::::0;:56:::2;::::0;113691:34;113669:56:::2;:::i;:::-;113668:101;;;;:::i;:::-;-1:-1:-1::0;;;;;113616:15:0;::::2;;::::0;;;:8:::2;:15;::::0;;;;:35:::2;;:153:::0;;:35;;:15;:153:::2;::::0;;;::::2;:::i;:::-;::::0;;;-1:-1:-1;;113816:18:0::2;::::0;-1:-1:-1;;;;;113780:15:0;::::2;;::::0;;;:8:::2;:15;::::0;;;;:33:::2;::::0;::::2;:54:::0;;;;113882:19:::2;::::0;113845:34:::2;::::0;::::2;:56:::0;113912:55;;-1:-1:-1;;;;;;113912:55:0::2;113951:15;-1:-1:-1::0;;;;;113912:55:0::2;;::::0;;106432:10:::3;106419:9;:23;106411:44;;;;-1:-1:-1::0;;;106411:44:0::3;;;;;;;:::i;:::-;106474:10;::::0;106488:15:::3;-1:-1:-1::0;;;106474:10:0;;::::3;-1:-1:-1::0;;;;;106474:10:0::3;:29;;106466:60;;;::::0;-1:-1:-1;;;106466:60:0;;12739:2:1;106466:60:0::3;::::0;::::3;12721:21:1::0;12778:2;12758:18;;;12751:30;-1:-1:-1;;;12797:18:1;;;12790:48;12855:18;;106466:60:0::3;12537:342:1::0;106466:60:0::3;106544:9;106539:331;106559:19:::0;;::::3;106539:331;;;106626:12;::::0;106671:4:::3;::::0;-1:-1:-1;;;;;106626:12:0::3;:20;106647:8:::0;;106656:1;106647:11;;::::3;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;106626:33;::::0;-1:-1:-1;;;;;;106626:33:0::3;::::0;;;;;;-1:-1:-1;;;;;13431:31:1;;;106626:33:0::3;::::0;::::3;13413:50:1::0;13386:18;;106626:33:0::3;;;;;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;106626:50:0::3;;106600:132;;;::::0;-1:-1:-1;;;106600:132:0;;13932:2:1;106600:132:0::3;::::0;::::3;13914:21:1::0;13971:2;13951:18;;;13944:30;-1:-1:-1;;;13990:18:1;;;13983:50;14050:18;;106600:132:0::3;13730:344:1::0;106600:132:0::3;106751:19;106758:8;;106767:1;106758:11;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;106751:19:0::3;:6;:19::i;:::-;106747:111;;;106772:31;106791:8;;106800:1;106791:11;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;106772:31:0::3;:18;:31::i;:::-;106747:111;;;106823:35;106846:8;;106855:1;106846:11;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;106823:35:0::3;:22;:35::i;:::-;106580:3:::0;::::3;::::0;::::3;:::i;:::-;;;;106539:331;;;-1:-1:-1::0;;;;;;113999:416:0;::::2;114049:15;::::0;;;:8:::2;:15;::::0;;;;;;;;:29;;;114180:33;::::2;::::0;114228:35:::2;::::0;::::2;::::0;114278::::2;::::0;::::2;::::0;114328:27;;::::2;::::0;114370:34:::2;::::0;;::::2;::::0;113999:416;;::::2;::::0;::::2;::::0;-1:-1:-1;;;;;114049:29:0;::::2;::::0;-1:-1:-1;;;;;;;;114093:26:0;::::2;::::0;::::2;::::0;-1:-1:-1;;;114134:31:0;::::2;;::::0;114180:33;114228:35;114278;;114328:27;;113999:416:::2;:::i;:::-;;;;;;;;114447:15;::::0;114464:20:::2;::::0;114486:16:::2;::::0;114431:72:::2;::::0;;10491:25:1;;;10547:2;10532:18;;10525:34;;;;10575:18;;;10568:34;114431:72:0;::::2;::::0;;;;10479:2:1;114431:72:0;;::::2;113013:1;106241:636:::0;;:::o;68072:103::-;67310:13;:11;:13::i;:::-;68137:30:::1;68164:1;68137:18;:30::i;:::-;68072:103::o:0;120880:292::-;121039:10;120976:7;121023:27;;;:15;:27;;;;;;;;121001:113;;;;-1:-1:-1;;;121001:113:0;;;;;;;:::i;:::-;121132:26;121153:4;121132:20;:26::i;:::-;:32;;;;120880:292;-1:-1:-1;;120880:292:0:o;118254:222::-;118380:12;;:50;;-1:-1:-1;;;118380:50:0;;;;;160:25:1;;;118308:9:0;;;;-1:-1:-1;;;;;118380:12:0;;;;:41;;133:18:1;;118380:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;118448:20;;118254:222;-1:-1:-1;;;118254:222:0:o;120294:283::-;-1:-1:-1;;;;;;;;;;;;;;;;;120454:10:0;120438:27;;;;:15;:27;;;;;;;;120416:113;;;;-1:-1:-1;;;120416:113:0;;;;;;;:::i;:::-;120547:22;120564:4;120547:16;:22::i;71516:108::-;67310:13;:11;:13::i;:::-;71590:26:::1;71605:10;71590:14;:26::i;117262:104::-:0;67310:13;:11;:13::i;:::-;117330:7:::1;:28:::0;;-1:-1:-1;;;;;;117330:28:0::1;-1:-1:-1::0;;;;;117330:28:0;;;::::1;::::0;;;::::1;::::0;;117262:104::o;119706:153::-;119794:16;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;119794:16:0;-1:-1:-1;;;;;;119835:16:0;;;;;:8;:16;;;;;;;;;119828:23;;;;;;;;;-1:-1:-1;;;;;119828:23:0;;;;-1:-1:-1;;;;;;;;119828:23:0;;;;;;;;;;;-1:-1:-1;;;119828:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;119706:153::o;119333:365::-;119484:13;;119430:14;;-1:-1:-1;;;119484:13:0;;-1:-1:-1;;;;;119484:13:0;119466:15;:31;119462:45;;;-1:-1:-1;119506:1:0;;119333:365;-1:-1:-1;119333:365:0:o;119462:45::-;-1:-1:-1;;;;;119663:15:0;;;;;;:8;:15;;;;;;;;:27;;;;119612:34;;;;;119590:19;;:56;;119612:34;119590:56;:::i;:::-;119589:101;;;;:::i;:::-;-1:-1:-1;;;;;119538:15:0;;;;;;:8;:15;;;;;:35;;;:152;;;;:::i;103771:927::-;73579:19;:17;:19::i;:::-;112911:13:::1;::::0;-1:-1:-1;;;112911:13:0;::::1;-1:-1:-1::0;;;;;112911:13:0::1;112892:15;:32;;112870:132;;;;-1:-1:-1::0;;;112870:132:0::1;;;;;;;:::i;:::-;103911:10:::2;113170:18;:16;:18::i;:::-;113149;:39:::0;113203:15:::2;::::0;:20;113199:65:::2;;113225:13;:39:::0;;-1:-1:-1;;;;;;113225:39:0::2;113248:15;-1:-1:-1::0;;;;;113225:39:0::2;;::::0;;113199:65:::2;113297:19;:17;:19::i;:::-;113275;:41:::0;113331:16:::2;::::0;:21;113327:76:::2;;113390:1;113369:18;:22:::0;113327:76:::2;-1:-1:-1::0;;;;;113579:15:0;::::2;;::::0;;;:8:::2;:15;::::0;;;;:26;;113529:33:::2;::::0;;::::2;::::0;113508:18:::2;::::0;-1:-1:-1;;;113579:26:0;;::::2;-1:-1:-1::0;;;;;113579:26:0::2;::::0;113508:54:::2;::::0;113529:33;113508:54:::2;:::i;:::-;113507:98;;;;:::i;:::-;-1:-1:-1::0;;;;;113455:15:0;::::2;;::::0;;;:8:::2;:15;::::0;;;;:35:::2;;:150:::0;;:35;;:15;:150:::2;::::0;;;::::2;:::i;:::-;::::0;;;-1:-1:-1;;;;;;;113742:15:0;::::2;;::::0;;;:8:::2;:15;::::0;;;;;;;:27;;::::2;::::0;113691:34:::2;::::0;;::::2;::::0;113669:19:::2;::::0;:56:::2;::::0;113691:34;113669:56:::2;:::i;:::-;113668:101;;;;:::i;:::-;-1:-1:-1::0;;;;;113616:15:0;::::2;;::::0;;;:8:::2;:15;::::0;;;;:35:::2;;:153:::0;;:35;;:15;:153:::2;::::0;;;::::2;:::i;:::-;::::0;;;-1:-1:-1;;113816:18:0::2;::::0;-1:-1:-1;;;;;113780:15:0;::::2;;::::0;;;:8:::2;:15;::::0;;;;:33:::2;::::0;::::2;:54:::0;;;;113882:19:::2;::::0;113845:34:::2;::::0;::::2;:56:::0;113912:55;;-1:-1:-1;;;;;;113912:55:0::2;113951:15;-1:-1:-1::0;;;;;113912:55:0::2;;::::0;;104024:10:::3;104011:9;:23;104003:44;;;;-1:-1:-1::0;;;104003:44:0::3;;;;;;;:::i;:::-;104065:9;104060:631;104080:19:::0;;::::3;104060:631;;;104192:12;::::0;-1:-1:-1;;;;;104192:12:0::3;:27;104220:8:::0;;104229:1;104220:11;;::::3;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;104192:40;::::0;-1:-1:-1;;;;;;104192:40:0::3;::::0;;;;;;-1:-1:-1;;;;;13431:31:1;;;104192:40:0::3;::::0;::::3;13413:50:1::0;13386:18;;104192:40:0::3;;;;;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;104166:152;;;::::0;-1:-1:-1;;;104166:152:0;;17408:2:1;104166:152:0::3;::::0;::::3;17390:21:1::0;17447:2;17427:18;;;17420:30;17486:34;17466:18;;;17459:62;-1:-1:-1;;;17537:18:1;;;17530:48;17595:19;;104166:152:0::3;17206:414:1::0;104166:152:0::3;104361:12;::::0;104398:10:::3;::::0;-1:-1:-1;;;;;104361:12:0::3;:20;104382:8:::0;;104391:1;104382:11;;::::3;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;104361:33;::::0;-1:-1:-1;;;;;;104361:33:0::3;::::0;;;;;;-1:-1:-1;;;;;13431:31:1;;;104361:33:0::3;::::0;::::3;13413:50:1::0;13386:18;;104361:33:0::3;;;;;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;104361:47:0::3;;104335:118;;;::::0;-1:-1:-1;;;104335:118:0;;17827:2:1;104335:118:0::3;::::0;::::3;17809:21:1::0;17866:1;17846:18;;;17839:29;-1:-1:-1;;;17884:18:1;;;17877:39;17933:18;;104335:118:0::3;17625:332:1::0;104335:118:0::3;104470:12;::::0;-1:-1:-1;;;;;104470:12:0::3;:25;104496:10;104516:4;104523:8:::0;;104532:1;104523:11;;::::3;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;104470:65;::::0;-1:-1:-1;;;;;;104470:65:0::3;::::0;;;;;;-1:-1:-1;;;;;18219:15:1;;;104470:65:0::3;::::0;::::3;18201:34:1::0;18271:15;;;;18251:18;;;18244:43;-1:-1:-1;;;;;18323:31:1;18303:18;;;18296:59;18136:18;;104470:65:0::3;;;;;;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;104556:19;104563:8;;104572:1;104563:11;;;;;;;:::i;104556:19::-;104552:127;;;104577:39;104592:10;104604:8;;104613:1;104604:11;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;104577:39:0::3;:14;:39::i;:::-;104552:127;;;104636:43;104655:10;104667:8;;104676:1;104667:11;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;104636:43:0::3;:18;:43::i;:::-;104101:3:::0;::::3;::::0;::::3;:::i;:::-;;;;104060:631;;116373:168:::0;73579:19;:17;:19::i;:::-;112911:13:::1;::::0;-1:-1:-1;;;112911:13:0;::::1;-1:-1:-1::0;;;;;112911:13:0::1;112892:15;:32;;112870:132;;;;-1:-1:-1::0;;;112870:132:0::1;;;;;;;:::i;:::-;116487:10:::2;113170:18;:16;:18::i;:::-;113149;:39:::0;113203:15:::2;::::0;:20;113199:65:::2;;113225:13;:39:::0;;-1:-1:-1;;;;;;113225:39:0::2;113248:15;-1:-1:-1::0;;;;;113225:39:0::2;;::::0;;113199:65:::2;113297:19;:17;:19::i;:::-;113275;:41:::0;113331:16:::2;::::0;:21;113327:76:::2;;113390:1;113369:18;:22:::0;113327:76:::2;-1:-1:-1::0;;;;;113579:15:0;::::2;;::::0;;;:8:::2;:15;::::0;;;;:26;;113529:33:::2;::::0;;::::2;::::0;113508:18:::2;::::0;-1:-1:-1;;;113579:26:0;;::::2;-1:-1:-1::0;;;;;113579:26:0::2;::::0;113508:54:::2;::::0;113529:33;113508:54:::2;:::i;:::-;113507:98;;;;:::i;:::-;-1:-1:-1::0;;;;;113455:15:0;::::2;;::::0;;;:8:::2;:15;::::0;;;;:35:::2;;:150:::0;;:35;;:15;:150:::2;::::0;;;::::2;:::i;:::-;::::0;;;-1:-1:-1;;;;;;;113742:15:0;::::2;;::::0;;;:8:::2;:15;::::0;;;;;;;:27;;::::2;::::0;113691:34:::2;::::0;;::::2;::::0;113669:19:::2;::::0;:56:::2;::::0;113691:34;113669:56:::2;:::i;:::-;113668:101;;;;:::i;:::-;-1:-1:-1::0;;;;;113616:15:0;::::2;;::::0;;;:8:::2;:15;::::0;;;;:35:::2;;:153:::0;;:35;;:15;:153:::2;::::0;;;::::2;:::i;:::-;::::0;;;-1:-1:-1;;113816:18:0::2;::::0;-1:-1:-1;;;;;113780:15:0;::::2;;::::0;;;:8:::2;:15;::::0;;;;:33:::2;::::0;::::2;:54:::0;;;;113882:19:::2;::::0;113845:34:::2;::::0;::::2;:56:::0;113912:55;;-1:-1:-1;;;;;;113912:55:0::2;113951:15;-1:-1:-1::0;;;;;113912:55:0::2;;::::0;;116515:18:::3;:16;:18::i;101630:117::-:0;67310:13;:11;:13::i;:::-;101707:18:::1;:32:::0;101630:117::o;119867:252::-;119990:10;119932:7;119974:27;;;:15;:27;;;;;;;;119952:113;;;;-1:-1:-1;;;119952:113:0;;;;;;;:::i;:::-;120083:22;120100:4;120083:16;:22::i;100825:39::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;100825:39:0;;;-1:-1:-1;;;;100825:39:0;;-1:-1:-1;;;;;100825:39:0;;-1:-1:-1;100825:39:0;:::o;68330:201::-;67310:13;:11;:13::i;:::-;-1:-1:-1;;;;;68419:22:0;::::1;68411:73;;;::::0;-1:-1:-1;;;68411:73:0;;18568:2:1;68411:73:0::1;::::0;::::1;18550:21:1::0;18607:2;18587:18;;;18580:30;18646:34;18626:18;;;18619:62;-1:-1:-1;;;18697:18:1;;;18690:36;18743:19;;68411:73:0::1;18366:402:1::0;68411:73:0::1;68495:28;68514:8;68495:18;:28::i;71963:113::-:0;67310:13;:11;:13::i;:::-;72039:29:::1;72057:10;72039:17;:29::i;67589:132::-:0;67470:7;67497:6;-1:-1:-1;;;;;67497:6:0;42011:10;67653:23;67645:68;;;;-1:-1:-1;;;67645:68:0;;18975:2:1;67645:68:0;;;18957:21:1;;;18994:18;;;18987:30;19053:34;19033:18;;;19026:62;19105:18;;67645:68:0;18773:356:1;74570:118:0;73579:19;:17;:19::i;:::-;74630:7:::1;:14:::0;;-1:-1:-1;;74630:14:0::1;74640:4;74630:14;::::0;;74660:20:::1;74667:12;42011:10:::0;;41931:98;74667:12:::1;74660:20;::::0;-1:-1:-1;;;;;3684:32:1;;;3666:51;;3654:2;3639:18;74660:20:0::1;;;;;;;74570:118::o:0;74829:120::-;73838:16;:14;:16::i;:::-;74888:7:::1;:15:::0;;-1:-1:-1;;74888:15:0::1;::::0;;74919:22:::1;42011:10:::0;74928:12:::1;41931:98:::0;74133:108;74045:7;;;;74203:9;74195:38;;;;-1:-1:-1;;;74195:38:0;;19336:2:1;74195:38:0;;;19318:21:1;19375:2;19355:18;;;19348:30;-1:-1:-1;;;19394:18:1;;;19387:46;19450:18;;74195:38:0;19134:340:1;115884:481:0;115953:10;115937:13;115994:15;;;:8;:15;;;;;:35;;;116044:13;;116040:318;;-1:-1:-1;;;;;116074:15:0;;116112:1;116074:15;;;:8;:15;;;;;:35;;:39;;;116155:27;;116186:3;;116143:39;;:9;:39;:::i;:::-;116142:47;;;;:::i;:::-;116128:61;;116204:16;116216:3;116204:11;:16::i;:::-;116235:11;;-1:-1:-1;;;;;116235:11:0;:16;116252:5;116259:15;116271:3;116259:9;:15;:::i;:::-;116235:40;;-1:-1:-1;;;;;;116235:40:0;;;;;;;-1:-1:-1;;;;;19671:32:1;;;116235:40:0;;;19653:51:1;19720:18;;;19713:34;19626:18;;116235:40:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;116313:10:0;116295:51;116325:15;116337:3;116325:9;:15;:::i;:::-;116295:51;;;19932:25:1;;;19988:2;19973:18;;19966:34;;;19905:18;116295:51:0;;;;;;;116059:299;115926:439;;115884:481::o;109917:2334::-;110001:15;110027:18;-1:-1:-1;;;;;;;;;;;;;;;;;;;110027:18:0;-1:-1:-1;;;;;;;;;;;;;;;;;110089:13:0;;110115:2129;110135:19;;;110115:2129;;;110186:8;;110195:1;110186:11;;;;;;;:::i;:::-;;;;;;;110176:21;;110218:15;110225:7;110218:6;:15::i;:::-;110214:2019;;;110267:20;;;;:11;:20;;;;;;110262:4;:26;;:4;;110267:20;110262:26;;;;;;:::i;:::-;;;;;;;;;;110254:34;;;;;;;;;110262:26;;110254:34;-1:-1:-1;;;;;110254:34:0;;;;-1:-1:-1;;;110254:34:0;;-1:-1:-1;;;;;110254:34:0;;;;;;;;;-1:-1:-1;110315:11:0;;:40;;-1:-1:-1;110330:11:0;;;;-1:-1:-1;;;;;110330:25:0;110345:10;110330:25;110315:40;110307:58;;;;-1:-1:-1;;;110307:58:0;;20213:2:1;110307:58:0;;;20195:21:1;20252:1;20232:18;;;20225:29;-1:-1:-1;;;20270:18:1;;;20263:35;20315:18;;110307:58:0;20011:328:1;110307:58:0;110405:1;110386:15;;:20;;;;;;;:::i;:::-;;;;-1:-1:-1;;110434:11:0;;;;;-1:-1:-1;;;;;110425:21:0;;;;;:8;:21;;;;;;:37;;110461:1;;110425:21;:32;;:37;;110461:1;;-1:-1:-1;;;110425:37:0;;-1:-1:-1;;;;;110425:37:0;;:::i;:::-;;;;;;;;-1:-1:-1;;;;;110425:37:0;;;;;-1:-1:-1;;;;;110425:37:0;;;;;;110493:4;110512:1;110498:4;:11;;;;:15;;;;:::i;:::-;110493:21;;;;;;;;:::i;:::-;;;;;;;;;110481:33;;;;;;;;110493:21;;;;110481:33;-1:-1:-1;;;;;110481:33:0;;;;-1:-1:-1;;;;;;;;110481:33:0;;;;;;;;110538:20;;;:11;:20;;;;;;110533:4;:26;;110481:33;;-1:-1:-1;110481:33:0;;110533:4;;110538:20;110533:26;;;;;;:::i;:::-;;;;;;;;;:38;;:26;;:38;;;;;;-1:-1:-1;;;;;110533:38:0;-1:-1:-1;;;110533:38:0;-1:-1:-1;;;;;;110533:38:0;;;-1:-1:-1;;;;;110533:38:0;;;;;;;;;;;110664:20;;;:11;:20;;;;;;;;110643:17;;110631:30;;;;;;;:53;110703:4;:10;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;110703:10:0;;;;;-1:-1:-1;;;;;;110703:10:0;;;;;;;;;110761:20;;;:11;:20;;;;;110754:27;110824:12;;-1:-1:-1;;;;;110824:12:0;:29;110884:4;110912:11;:35;;110936:5;:11;;;110912:35;;;67470:7;67497:6;-1:-1:-1;;;;;67497:6:0;110926:7;110970;110824:197;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;111065:27:0;;111087:4;4359:41:1;;111078:7:0;;-1:-1:-1;;;;;;;;;;;;111065:27:0;-1:-1:-1;4347:2:1;4332:18;111065:27:0;;;;;;;110214:2019;;;111141:26;111159:7;111141:17;:26::i;:::-;111133:34;;111194:11;;;;:4;:11;;;;;;;;111206:20;;;:11;:20;;;;;;;111194:33;;111133:34;;-1:-1:-1;111194:11:0;;:33;;;;;;:::i;:::-;;;;;;;;;;111186:41;;;;;;;;;111194:33;;111186:41;-1:-1:-1;;;;;111186:41:0;;;;-1:-1:-1;;;111186:41:0;;-1:-1:-1;;;;;111186:41:0;;;;;;;;;-1:-1:-1;111256:11:0;;:40;;-1:-1:-1;111271:11:0;;;;-1:-1:-1;;;;;111271:25:0;111286:10;111271:25;111256:40;111248:58;;;;-1:-1:-1;;;111248:58:0;;20213:2:1;111248:58:0;;;20195:21:1;20252:1;20232:18;;;20225:29;-1:-1:-1;;;20270:18:1;;;20263:35;20315:18;;111248:58:0;20011:328:1;111248:58:0;111351:1;111327:20;;:25;;;;;;;:::i;:::-;;;;-1:-1:-1;;111380:11:0;;;;;-1:-1:-1;;;;;111371:21:0;;;;;:8;:21;;;;;;:42;;111412:1;;111371:21;:37;;:42;;111412:1;;-1:-1:-1;;;111371:42:0;;-1:-1:-1;;;;;111371:42:0;;:::i;:::-;;;;;;;;-1:-1:-1;;;;;111371:42:0;;;;;-1:-1:-1;;;;;111371:42:0;;;;;;111469:5;111432:8;:21;111441:5;:11;;;-1:-1:-1;;;;;111432:21:0;-1:-1:-1;;;;;111432:21:0;;;;;;;;;;;;:33;;;:42;;;;;;;:::i;:::-;;;;;;;;111513:5;111493:16;;:25;;;;;;;:::i;:::-;;;;-1:-1:-1;;111583:11:0;;;;:4;:11;;;;;111595:18;;:22;;111616:1;;111595:22;:::i;:::-;111583:35;;;;;;;;:::i;:::-;;;;;;;;;111571:47;;;;;;;;111583:35;;;;111571:47;-1:-1:-1;;;;;111571:47:0;;;;-1:-1:-1;;;111571:47:0;;-1:-1:-1;;;;;111571:47:0;;;;;111637:11;;;:4;:11;;;;;111649:20;;;:11;:20;;;;;;;111637:33;;111571:47;;-1:-1:-1;111571:47:0;;111637:11;:33;;;;;;:::i;:::-;;;;;;;;;:45;;:33;;:45;;;;;;-1:-1:-1;;;;;111637:45:0;-1:-1:-1;;;111637:45:0;-1:-1:-1;;;;;;111637:45:0;;;-1:-1:-1;;;;;111637:45:0;;;;;;;;;;;111779:20;;;:11;:20;;;;;;;111758:17;;111746:30;;;;;;;;:53;;;;111818:11;;;:4;:11;;;;:17;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;111818:17:0;;;;;-1:-1:-1;;;;;;111818:17:0;;;;;;;;;111881:20;;;:11;:20;;;;;111874:27;111944:12;;-1:-1:-1;;;;;111944:12:0;:29;112004:4;112032:11;:35;;112056:5;:11;;;112032:35;;;67470:7;67497:6;-1:-1:-1;;;;;67497:6:0;112046:7;112090;111944:197;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;112189:28:0;;112211:5;4359:41:1;;112202:7:0;;-1:-1:-1;;;;;;;;;;;;112189:28:0;-1:-1:-1;4347:2:1;4332:18;112189:28:0;;;;;;;110214:2019;110156:3;;;;:::i;:::-;;;;110115:2129;;;;109990:2261;;;;109917:2334;;;:::o;121679:923::-;-1:-1:-1;;;;;;;;;;;;;;;;;121807:16:0;;121803:54;;-1:-1:-1;;121837:20:0;;;;;;;;;-1:-1:-1;121837:20:0;;;;;;;;121679:923::o;121803:54::-;121926:14;121969:16;;121944:4;121951:14;121944:21;121943:42;;;;:::i;:::-;121926:59;;121996:18;122034:2;122025:11;;;;;122130:9;122125:432;122149:20;:27;122145:31;;122125:432;;;122198:12;122213:20;122234:1;122213:23;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;122265:11;;;:4;:11;;;;;;;:18;122213:23;;-1:-1:-1;122265:26:0;;122213:23;;122265:26;:::i;:::-;122251:40;;;;:::i;:::-;;;122390:10;122380:6;:20;122376:34;;122402:8;;;122376:34;122507:11;;;;;;;:4;:11;;;;;122526:18;;122519:25;;:4;:25;:::i;:::-;122507:38;;;;;;;;:::i;:::-;;;;;;;;;;122500:45;;;;;;;;;122507:38;;122500:45;-1:-1:-1;;;;;122500:45:0;;;;-1:-1:-1;;;122500:45:0;;-1:-1:-1;;;;;122500:45:0;;;;;;;;;;-1:-1:-1;;;;;;121679:923:0:o;122125:432::-;122178:3;;;;:::i;:::-;;;;122125:432;;;-1:-1:-1;;122574:20:0;;;;;;;;;-1:-1:-1;122574:20:0;;;;;;;;121679:923;-1:-1:-1;;;121679:923:0:o;107011:952::-;107076:18;107102:20;;;:11;:20;;;;;;107097:4;:26;;:4;;107102:20;107097:26;;;;;;:::i;:::-;;;;;;;;;;107076:47;;;;;;;;;107097:26;;107076:47;-1:-1:-1;;;;;107076:47:0;;;;-1:-1:-1;;;107076:47:0;;-1:-1:-1;;;;;107076:47:0;;;;;;;;-1:-1:-1;42011:10:0;107144:27;107136:52;;;;-1:-1:-1;;;107136:52:0;;21589:2:1;107136:52:0;;;21571:21:1;21628:2;21608:18;;;21601:30;-1:-1:-1;;;21647:18:1;;;21640:42;21699:18;;107136:52:0;21387:336:1;107136:52:0;107218:1;107199:15;;:20;;;;;;;:::i;:::-;;;;-1:-1:-1;;42011:10:0;107230:22;;;;:8;:22;;;;;:38;;107267:1;;107230:22;:33;;:38;;107267:1;;-1:-1:-1;;;107230:38:0;;-1:-1:-1;;;;;107230:38:0;;:::i;:::-;;;-1:-1:-1;;;;;107230:38:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;107295:11:0;;;;107331:7;;107346:6;:8;;-1:-1:-1;;;;;;;107331:7:0;;:14;;107346:8;-1:-1:-1;107346:8:0;;;:::i;:::-;;;;;107331:24;;;;;;;;;;;;;160:25:1;;148:2;133:18;;14:177;107331:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;107317:38;;107389:1;107370:16;;:20;:60;;;;-1:-1:-1;107406:24:0;;;;;;;107394:9;107400:3;107394;:9;:::i;:::-;:36;107370:60;107366:156;;;107455:1;107447:9;107479:25;107447:9;107479:20;:25::i;:::-;:31;;;107471:39;;107366:156;107532:12;;:64;;-1:-1:-1;;;107532:64:0;;-1:-1:-1;;;;;107532:12:0;;;;:29;;:64;;107570:4;;107577:5;;107584:7;;107532:64;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;107609:22;107634:4;107653:1;107639:4;:11;;;;:15;;;;:::i;:::-;107634:21;;;;;;;;:::i;:::-;;;;;;;;;107609:46;;;;;;;;107634:21;;;;107609:46;-1:-1:-1;;;;;107609:46:0;;;;-1:-1:-1;;;;;;;;107609:46:0;;;;;;;;107671:20;;;:11;:20;;;;;;107666:4;:26;;107609:46;;-1:-1:-1;107609:46:0;;107666:4;;107671:20;107666:26;;;;;;:::i;:::-;;;;;;;;;:38;;:26;;:38;;;;;;-1:-1:-1;;;;;107666:38:0;-1:-1:-1;;;107666:38:0;-1:-1:-1;;;;;;107666:38:0;;;-1:-1:-1;;;;;107666:38:0;;;;;;;;;;;107789:20;;;:11;:20;;;;;;;;107768:17;;107756:30;;;;;;;:53;107820:4;:10;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;107820:10:0;;;;;;;-1:-1:-1;;;;;;107820:10:0;;;;;;;;;107870:20;;;:11;:20;;;;;;107863:27;;;;107928;;-1:-1:-1;4359:41:1;;107870:20:0;;-1:-1:-1;;;;;;;;;;;107928:27:0;4332:18:1;107928:27:0;;;;;;;107065:898;;;;107011:952;:::o;108078:1199::-;108147:13;108163:26;108181:7;108163:17;:26::i;:::-;108147:42;;108200:18;108221:11;;;:4;:11;;;;;;;;108233:20;;;:11;:20;;;;;;108221:33;;108147:42;;-1:-1:-1;108200:18:0;;108221:11;;108233:20;108221:33;;;;;;:::i;:::-;;;;;;;;;;108200:54;;;;;;;;;108221:33;;108200:54;-1:-1:-1;;;;;108200:54:0;;;;-1:-1:-1;;;108200:54:0;;-1:-1:-1;;;;;108200:54:0;;;;;;;;-1:-1:-1;42011:10:0;108273:27;108265:52;;;;-1:-1:-1;;;108265:52:0;;21589:2:1;108265:52:0;;;21571:21:1;21628:2;21608:18;;;21601:30;-1:-1:-1;;;21647:18:1;;;21640:42;21699:18;;108265:52:0;21387:336:1;108265:52:0;108350:5;108330:16;;:25;;;;;;;:::i;:::-;;;;-1:-1:-1;;108402:22:0;108427:11;;;:4;:11;;;;;108439:18;;:22;;108460:1;;108439:22;:::i;:::-;108427:35;;;;;;;;:::i;:::-;;;;;;;;;108402:60;;;;;;;;108427:35;;;;108402:60;-1:-1:-1;;;;;108402:60:0;;;;-1:-1:-1;;;108402:60:0;;-1:-1:-1;;;;;108402:60:0;;;;;108485:11;;;:4;:11;;;;;108497:20;;;:11;:20;;;;;;;108485:33;;108402:60;;-1:-1:-1;108402:60:0;;108485:11;:33;;;;;;:::i;:::-;;;;;;;;;:45;;:33;;:45;;;;;;-1:-1:-1;;;;;108485:45:0;-1:-1:-1;;;108485:45:0;-1:-1:-1;;;;;;108485:45:0;;;-1:-1:-1;;;;;108485:45:0;;;;;;;;;;;108619:20;;;:11;:20;;;;;;;108598:17;;108586:30;;;;;;;;:53;;;;108650:11;;;:4;:11;;;;:17;;;;;;;:::i;:::-;;;;;;;;;;-1:-1:-1;;108650:17:0;;;;;-1:-1:-1;;;;;;108650:17:0;;;;;;;;;108698:20;:25;;108650:17;;;108698:25;;108650:17;;108698:25;:::i;:::-;;;;-1:-1:-1;;42011:10:0;108734:22;;;;:8;:22;;;;;:43;;108776:1;;108734:22;:38;;:43;;108776:1;;-1:-1:-1;;;108734:43:0;;-1:-1:-1;;;;;108734:43:0;;:::i;:::-;;;;;;;;-1:-1:-1;;;;;108734:43:0;;;;;-1:-1:-1;;;;;108734:43:0;;;;;;108826:5;108788:8;:22;108797:12;42011:10;;41931:98;108797:12;-1:-1:-1;;;;;108788:22:0;-1:-1:-1;;;;;108788:22:0;;;;;;;;;;;;:34;;;:43;;;;;;;:::i;:::-;;;;-1:-1:-1;;108849:20:0;;;;:11;:20;;;;;;;108842:27;;;108920:11;;;108956:7;;108971:6;:8;;108920:11;;108849:20;-1:-1:-1;;;;;108956:7:0;;;;:14;;108849:20;108971:8;;;:::i;:::-;;;;;108956:24;;;;;;;;;;;;;160:25:1;;148:2;133:18;;14:177;108956:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;108942:38;;109014:1;108995:16;;:20;:64;;;;-1:-1:-1;109031:28:0;;;;109019:9;109025:3;109019;:9;:::i;:::-;:40;108995:64;108991:160;;;109084:1;109076:9;109108:25;109076:9;109108:20;:25::i;:::-;:31;;;109100:39;;108991:160;109161:12;;:64;;-1:-1:-1;;;109161:64:0;;-1:-1:-1;;;;;109161:12:0;;;;:29;;:64;;109199:4;;109206:5;;109213:7;;109161:64;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;109241:28:0;;109263:5;4359:41:1;;109254:7:0;;-1:-1:-1;;;;;;;;;;;;109241:28:0;-1:-1:-1;4347:2:1;4332:18;109241:28:0;;;;;;;108136:1141;;;;;108078:1199;:::o;68691:191::-;68765:16;68784:6;;-1:-1:-1;;;;;68801:17:0;;;-1:-1:-1;;;;;;68801:17:0;;;;;;68834:40;;68784:6;;;;;;;68834:40;;68765:16;68834:40;68754:128;68691:191;:::o;120585:287::-;-1:-1:-1;;;;;;;;;;;;;;;;;120709:15:0;;120705:53;;-1:-1:-1;;120738:20:0;;;;;;;;;-1:-1:-1;120738:20:0;;;;;;;;120585:287::o;120705:53::-;120813:4;120848:15;;120819:4;-1:-1:-1;;;;;120819:25:0;120818:45;;;;:::i;:::-;120813:51;;;;;;;;:::i;:::-;;;;;;;;;;120806:58;;;;;;;;;120813:51;;120806:58;-1:-1:-1;;;;;120806:58:0;;;;-1:-1:-1;;;120806:58:0;;-1:-1:-1;;;;;120806:58:0;;;;;;;;;;-1:-1:-1;;120585:287:0:o;71632:205::-;-1:-1:-1;;;;;71701:23:0;;;;;;:11;:23;;;;;;;;71696:134;;-1:-1:-1;;;;;71741:23:0;;;;;;71767:4;71741:23;;;;;;;;;:30;;-1:-1:-1;;71741:30:0;;;;;;;71791:27;;3666:51:1;;;71791:27:0;;3639:18:1;71791:27:0;3499:224:1;104900:319:0;104997:1;104978:15;;:20;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;105009:17:0;;;;;;:8;:17;;;;;:33;;105041:1;;105009:17;:28;;:33;;105041:1;;-1:-1:-1;;;105009:33:0;;-1:-1:-1;;;;;105009:33:0;;:::i;:::-;;;-1:-1:-1;;;;;105009:33:0;;;;;;;;;;;;;;;;;;;;;;;105076:4;:11;;-1:-1:-1;105053:20:0;;;:11;:20;;;;;;;;:34;;;105108:49;;;;;;;;;;;;-1:-1:-1;;;;;105108:49:0;;;;;;;;;-1:-1:-1;105098:60:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;105098:60:0;-1:-1:-1;;;;;;105098:60:0;;;;;;;;;;;;;;;;;;105176:35;4359:41:1;;;105053:20:0;;-1:-1:-1;105108:49:0;105176:35;;4332:18:1;105176:35:0;;;;;;;104900:319;;:::o;105402:598::-;105484:13;105500:26;105518:7;105500:17;:26::i;:::-;105484:42;;;;105557:5;105537:16;;:25;;;;;;;:::i;:::-;;;;;;;;105627:1;105603:20;;:25;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;105639:17:0;;;;;;:8;:17;;;;;:38;;105676:1;;105639:17;:33;;:38;;105676:1;;-1:-1:-1;;;105639:38:0;;-1:-1:-1;;;;;105639:38:0;;:::i;:::-;;;;;;;;-1:-1:-1;;;;;105639:38:0;;;;;-1:-1:-1;;;;;105639:38:0;;;;;;105721:5;105688:8;:17;105697:7;-1:-1:-1;;;;;105688:17:0;-1:-1:-1;;;;;105688:17:0;;;;;;;;;;;;:29;;;:38;;;;;;;:::i;:::-;;;;-1:-1:-1;;105760:11:0;;;;:4;:11;;;;;;;;:18;;105737:20;;;:11;:20;;;;;:41;;;105839:11;;;105856:49;;;;;;;-1:-1:-1;;;;;105856:49:0;;;;;-1:-1:-1;;;;;105856:49:0;;;;;;;;;105839:67;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;105839:67:0;-1:-1:-1;;;;;;105839:67:0;;;;;;;;;;105956:36;;105749:7;;105956:36;;;;4384:14:1;4377:22;4359:41;;4347:2;4332:18;;4219:187;105956:36:0;;;;;;;;105473:527;105402:598;;:::o;116549:353::-;116618:10;116602:13;116659:15;;;:8;:15;;;;;:35;;;;116705:39;;;116759:13;;116755:140;;116789:11;;:34;;-1:-1:-1;;;116789:34:0;;-1:-1:-1;;;;;19671:32:1;;;116789:34:0;;;19653:51:1;19720:18;;;19713:34;;;116789:11:0;;;;:16;;19626:18:1;;116789:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;116843:40:0;;160:25:1;;;116861:10:0;;116843:40;;148:2:1;133:18;116843:40:0;;;;;;;116591:311;;116549:353::o;72084:210::-;-1:-1:-1;;;;;72155:23:0;;;;;;:11;:23;;;;;;;;72151:136;;;-1:-1:-1;;;;;72195:23:0;;72221:5;72195:23;;;:11;:23;;;;;;;;;:31;;-1:-1:-1;;72195:31:0;;;72246:29;;3666:51:1;;;72246:29:0;;3639:18:1;72246:29:0;3499:224:1;74318:108:0;74045:7;;;;74377:41;;;;-1:-1:-1;;;74377:41:0;;22360:2:1;74377:41:0;;;22342:21:1;22399:2;22379:18;;;22372:30;-1:-1:-1;;;22418:18:1;;;22411:50;22478:18;;74377:41:0;22158:344:1;112400:425:0;112461:16;;112457:188;;112568:6;112546:18;;:28;;;;;;;:::i;:::-;;;;-1:-1:-1;;;112400:425:0:o;112457:188::-;112768:16;;112746:18;;112737:27;;:6;:27;:::i;:::-;112736:48;;;;:::i;:::-;112713:19;;:71;;;;;;;:::i;:::-;;;;-1:-1:-1;;112816:1:0;112795:18;:22;-1:-1:-1;112400:425:0:o;118667:260::-;118803:12;;:50;;-1:-1:-1;;;118803:50:0;;;;;160:25:1;;;118734:6:0;;;;-1:-1:-1;;;;;118803:12:0;;;;:41;;133:18:1;;118803:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;118753:100;;118873:20;118894:13;:24;;;118873:46;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;118866:53;;;118667:260;;;:::o;196:131:1:-;-1:-1:-1;;;;;271:31:1;;261:42;;251:70;;317:1;314;307:12;332:936;429:6;437;445;453;461;514:3;502:9;493:7;489:23;485:33;482:53;;;531:1;528;521:12;482:53;570:9;557:23;589:31;614:5;589:31;:::i;:::-;639:5;-1:-1:-1;696:2:1;681:18;;668:32;709:33;668:32;709:33;:::i;:::-;761:7;-1:-1:-1;815:2:1;800:18;;787:32;;-1:-1:-1;870:2:1;855:18;;842:32;-1:-1:-1;;;;;923:14:1;;;920:34;;;950:1;947;940:12;920:34;988:6;977:9;973:22;963:32;;1033:7;1026:4;1022:2;1018:13;1014:27;1004:55;;1055:1;1052;1045:12;1004:55;1095:2;1082:16;1121:2;1113:6;1110:14;1107:34;;;1137:1;1134;1127:12;1107:34;1182:7;1177:2;1168:6;1164:2;1160:15;1156:24;1153:37;1150:57;;;1203:1;1200;1193:12;1150:57;332:936;;;;-1:-1:-1;332:936:1;;-1:-1:-1;1234:2:1;1226:11;;1256:6;332:936;-1:-1:-1;;;332:936:1:o;1480:118::-;1566:5;1559:13;1552:21;1545:5;1542:32;1532:60;;1588:1;1585;1578:12;1603:241;1659:6;1712:2;1700:9;1691:7;1687:23;1683:32;1680:52;;;1728:1;1725;1718:12;1680:52;1767:9;1754:23;1786:28;1808:5;1786:28;:::i;1849:367::-;1912:8;1922:6;1976:3;1969:4;1961:6;1957:17;1953:27;1943:55;;1994:1;1991;1984:12;1943:55;-1:-1:-1;2017:20:1;;-1:-1:-1;;;;;2049:30:1;;2046:50;;;2092:1;2089;2082:12;2046:50;2129:4;2121:6;2117:17;2105:29;;2189:3;2182:4;2172:6;2169:1;2165:14;2157:6;2153:27;2149:38;2146:47;2143:67;;;2206:1;2203;2196:12;2143:67;1849:367;;;;;:::o;2221:437::-;2307:6;2315;2368:2;2356:9;2347:7;2343:23;2339:32;2336:52;;;2384:1;2381;2374:12;2336:52;2424:9;2411:23;-1:-1:-1;;;;;2449:6:1;2446:30;2443:50;;;2489:1;2486;2479:12;2443:50;2528:70;2590:7;2581:6;2570:9;2566:22;2528:70;:::i;:::-;2617:8;;2502:96;;-1:-1:-1;2221:437:1;-1:-1:-1;;;;2221:437:1:o;2663:180::-;2722:6;2775:2;2763:9;2754:7;2750:23;2746:32;2743:52;;;2791:1;2788;2781:12;2743:52;-1:-1:-1;2814:23:1;;2663:180;-1:-1:-1;2663:180:1:o;4760:247::-;4819:6;4872:2;4860:9;4851:7;4847:23;4843:32;4840:52;;;4888:1;4885;4878:12;4840:52;4927:9;4914:23;4946:31;4971:5;4946:31;:::i;5012:114::-;5096:4;5089:5;5085:16;5078:5;5075:27;5065:55;;5116:1;5113;5106:12;5131:517;5202:6;5210;5218;5271:2;5259:9;5250:7;5246:23;5242:32;5239:52;;;5287:1;5284;5277:12;5239:52;5326:9;5313:23;5345:29;5368:5;5345:29;:::i;:::-;5393:5;-1:-1:-1;5450:2:1;5435:18;;5422:32;5463:31;5422:32;5463:31;:::i;:::-;5513:7;-1:-1:-1;5572:2:1;5557:18;;5544:32;5585:31;5544:32;5585:31;:::i;:::-;5635:7;5625:17;;;5131:517;;;;;:::o;6302:757::-;-1:-1:-1;;;;;6657:35:1;;;;6639:54;;-1:-1:-1;;;;;6766:15:1;;;6761:2;6746:18;;6739:43;6818:15;;;;6813:2;6798:18;;6791:43;6865:2;6850:18;;6843:34;;;;6908:3;6893:19;;6886:35;6952:3;6937:19;;6930:35;6996:3;6981:19;;6974:35;;;;7040:3;7025:19;;7018:35;6626:3;6611:19;;6302:757::o;7874:248::-;7942:6;7950;8003:2;7991:9;7982:7;7978:23;7974:32;7971:52;;;8019:1;8016;8009:12;7971:52;-1:-1:-1;;8042:23:1;;;8112:2;8097:18;;;8084:32;;-1:-1:-1;7874:248:1:o;9030:127::-;9091:10;9086:3;9082:20;9079:1;9072:31;9122:4;9119:1;9112:15;9146:4;9143:1;9136:15;9162:127;9223:10;9218:3;9214:20;9211:1;9204:31;9254:4;9251:1;9244:15;9278:4;9275:1;9268:15;9294:135;9333:3;-1:-1:-1;;9354:17:1;;9351:43;;;9374:18;;:::i;:::-;-1:-1:-1;9421:1:1;9410:13;;9294:135::o;9434:414::-;9636:2;9618:21;;;9675:2;9655:18;;;9648:30;9714:34;9709:2;9694:18;;9687:62;-1:-1:-1;;;9780:2:1;9765:18;;9758:48;9838:3;9823:19;;9434:414::o;9853:125::-;9893:4;9921:1;9918;9915:8;9912:34;;;9926:18;;:::i;:::-;-1:-1:-1;9963:9:1;;9853:125::o;9983:168::-;10023:7;10089:1;10085;10081:6;10077:14;10074:1;10071:21;10066:1;10059:9;10052:17;10048:45;10045:71;;;10096:18;;:::i;:::-;-1:-1:-1;10136:9:1;;9983:168::o;10156:128::-;10196:3;10227:1;10223:6;10220:1;10217:13;10214:39;;;10233:18;;:::i;:::-;-1:-1:-1;10269:9:1;;10156:128::o;10957:127::-;11018:10;11013:3;11009:20;11006:1;10999:31;11049:4;11046:1;11039:15;11073:4;11070:1;11063:15;11089:120;11129:1;11155;11145:35;;11160:18;;:::i;:::-;-1:-1:-1;11194:9:1;;11089:120::o;11214:400::-;11416:2;11398:21;;;11455:2;11435:18;;;11428:30;11494:34;11489:2;11474:18;;11467:62;-1:-1:-1;;;11560:2:1;11545:18;;11538:34;11604:3;11589:19;;11214:400::o;11619:233::-;11658:4;-1:-1:-1;;;;;11759:10:1;;;;11729;;11781:12;;;11778:38;;;11796:18;;:::i;:::-;11833:13;;11619:233;-1:-1:-1;;;11619:233:1:o;12201:331::-;12403:2;12385:21;;;12442:1;12422:18;;;12415:29;-1:-1:-1;;;12475:2:1;12460:18;;12453:38;12523:2;12508:18;;12201:331::o;12884:129::-;-1:-1:-1;;;;;12962:5:1;12958:30;12951:5;12948:41;12938:69;;13003:1;13000;12993:12;13018:245;13076:6;13129:2;13117:9;13108:7;13104:23;13100:32;13097:52;;;13145:1;13142;13135:12;13097:52;13184:9;13171:23;13203:30;13227:5;13203:30;:::i;13474:251::-;13544:6;13597:2;13585:9;13576:7;13572:23;13568:32;13565:52;;;13613:1;13610;13603:12;13565:52;13645:9;13639:16;13664:31;13689:5;13664:31;:::i;14079:344::-;14146:2;14140:9;14188:3;14176:16;;-1:-1:-1;;;;;14207:34:1;;14243:22;;;14204:62;14201:185;;;14308:10;14303:3;14299:20;14296:1;14289:31;14343:4;14340:1;14333:15;14371:4;14368:1;14361:15;14201:185;14402:2;14395:22;14079:344;:::o;14428:132::-;14504:13;;14526:28;14504:13;14526:28;:::i;:::-;14428:132;;;:::o;14565:134::-;14642:13;;14664:29;14642:13;14664:29;:::i;14704:136::-;14782:13;;14804:30;14782:13;14804:30;:::i;14845:2106::-;14945:6;14998:3;14986:9;14977:7;14973:23;14969:33;14966:53;;;15015:1;15012;15005:12;14966:53;15041:17;;:::i;:::-;15081:37;15108:9;15081:37;:::i;:::-;15074:5;15067:52;15151:47;15194:2;15183:9;15179:18;15151:47;:::i;:::-;15146:2;15139:5;15135:14;15128:71;15231:47;15274:2;15263:9;15259:18;15231:47;:::i;:::-;15226:2;15219:5;15215:14;15208:71;15311:47;15354:2;15343:9;15339:18;15311:47;:::i;:::-;15306:2;15299:5;15295:14;15288:71;15392:48;15435:3;15424:9;15420:19;15392:48;:::i;:::-;15386:3;15379:5;15375:15;15368:73;15474:48;15517:3;15506:9;15502:19;15474:48;:::i;:::-;15468:3;15461:5;15457:15;15450:73;15556:48;15599:3;15588:9;15584:19;15556:48;:::i;:::-;15550:3;15543:5;15539:15;15532:73;15638:48;15681:3;15670:9;15666:19;15638:48;:::i;:::-;15632:3;15625:5;15621:15;15614:73;15706:3;15741:47;15784:2;15773:9;15769:18;15741:47;:::i;:::-;15725:14;;;15718:71;15808:3;15843:47;15871:18;;;15843:47;:::i;:::-;15827:14;;;15820:71;15910:3;15945:48;15974:18;;;15945:48;:::i;:::-;15929:14;;;15922:72;16013:3;16048:47;16076:18;;;16048:47;:::i;:::-;16032:14;;;16025:71;16115:3;16150:47;16178:18;;;16150:47;:::i;:::-;16134:14;;;16127:71;16217:3;16252:47;16280:18;;;16252:47;:::i;:::-;16236:14;;;16229:71;16319:3;16354:47;16382:18;;;16354:47;:::i;:::-;16338:14;;;16331:71;16421:3;16456:47;16484:18;;;16456:47;:::i;:::-;16440:14;;;16433:71;16523:3;16558:47;16586:18;;;16558:47;:::i;:::-;16542:14;;;16535:71;16626:3;16662:48;16690:19;;;16662:48;:::i;:::-;16645:15;;;16638:73;16731:3;16767:48;16795:19;;;16767:48;:::i;:::-;16750:15;;;16743:73;16836:3;16872:48;16900:19;;;16872:48;:::i;:::-;16855:15;;;16848:73;16859:5;14845:2106;-1:-1:-1;;;14845:2106:1:o;16956:245::-;17023:6;17076:2;17064:9;17055:7;17051:23;17047:32;17044:52;;;17092:1;17089;17082:12;17044:52;17124:9;17118:16;17143:28;17165:5;17143:28;:::i;20344:229::-;20383:4;-1:-1:-1;;;;;20480:10:1;;;;20450;;20502:12;;;20499:38;;;20517:18;;:::i;20578:127::-;20639:10;20634:3;20630:20;20627:1;20620:31;20670:4;20667:1;20660:15;20694:4;20691:1;20684:15;20710:555;-1:-1:-1;;;;;21033:15:1;;;21015:34;;21085:15;;;;21080:2;21065:18;;21058:43;21132:2;21117:18;;21110:34;;;;21180:3;21175:2;21160:18;;21153:31;;;20958:4;21200:19;;;21193:30;20995:3;21240:19;;20710:555::o;21270:112::-;21302:1;21328;21318:35;;21333:18;;:::i;:::-;-1:-1:-1;21367:9:1;;21270:112::o;21728:184::-;21798:6;21851:2;21839:9;21830:7;21826:23;21822:32;21819:52;;;21867:1;21864;21857:12;21819:52;-1:-1:-1;21890:16:1;;21728:184;-1:-1:-1;21728:184:1:o;21917:236::-;21956:3;-1:-1:-1;;;;;22029:2:1;22026:1;22022:10;22059:2;22056:1;22052:10;22090:3;22086:2;22082:12;22077:3;22074:21;22071:47;;;22098:18;;:::i;:::-;22134:13;;21917:236;-1:-1:-1;;;;21917:236:1:o

Swarm Source

ipfs://b11bf730779f38fad24bc66f8d78fed783c8a2c6916e60e3d27fe4f13e74b04b
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.