Contract 0xA944F9387E62CD6049E47986b9D8bde031Ad4729

 
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xa88f09608f879b0e62c4483c99cdd5b0e544172c3748b8d7a8d5b4e68851c897Claim119712072021-10-21 18:02:3420 mins ago0xa5582f7269264adc04c5bdc830a63e2e4a467fa3 IN  0xa944f9387e62cd6049e47986b9d8bde031ad47290 BNB0.000568605
0x6d2c95c4ea0f912938ae9dcf0c111c7cb5ad48a025c741d07eb5399d86ba215aDeposit119707982021-10-21 17:42:0741 mins ago0x8a94c88a81bd31b832998976f8e1ca61d217c341 IN  0xa944f9387e62cd6049e47986b9d8bde031ad47290 BNB0.00043239
0xaae79367411b7a0b843d2eddd793302a193e163c3e857db4b79f600c0423f82cDeposit119701002021-10-21 17:06:561 hr 16 mins ago0xdbec81b4eab0b5234dbd9ff7c456bf750d7a9086 IN  0xa944f9387e62cd6049e47986b9d8bde031ad47290 BNB0.00050745
0xd5596746827a6fafeeae4541daa735633827ce20ac407f4cc146da1b7a2eb285Claim119700862021-10-21 17:06:141 hr 17 mins ago0xdbec81b4eab0b5234dbd9ff7c456bf750d7a9086 IN  0xa944f9387e62cd6049e47986b9d8bde031ad47290 BNB0.000514605
0xaf03bd7d34e99be53b98b7418cbfd87f191b3f0217d87a851a014782ef52ede6Deposit119698232021-10-21 16:53:051 hr 30 mins ago0xf5e3bd27c6ff34d0b5b4e6af39fe169a558014e2 IN  0xa944f9387e62cd6049e47986b9d8bde031ad47290 BNB0.00053963
0x41743fc80a1998eb211bd0c7baf65b4cbd7b879f90320a456183a54c9bcef922Deposit119695962021-10-21 16:41:441 hr 41 mins ago0x6b6068035468618621703b5f82c5312eaffd2064 IN  0xa944f9387e62cd6049e47986b9d8bde031ad47290 BNB0.00043251
0xd2ffbd45a22b35dedead4cdffa0286dbe6eb921958850c034fc75f94b7da4f25Claim119688122021-10-21 16:01:392 hrs 21 mins ago0x3c156fe5dac12cfccc41784522381606f641ae55 IN  0xa944f9387e62cd6049e47986b9d8bde031ad47290 BNB0.000493605
0x960a76984ffe2677015ba7714ab4a9ae5e84686c55334fe108bbbc7ced4f6e12Withdraw119687262021-10-21 15:57:022 hrs 26 mins ago0x8582a91fb1953525528b5d738badd8af4aeb302c IN  0xa944f9387e62cd6049e47986b9d8bde031ad47290 BNB0.0005652
0x5b88c7209b8a7f5b8c776e209c4e4ceb790bfae02e8ad1d49a0351e3989013ceClaim119680402021-10-21 15:21:393 hrs 1 min ago0x7f8595e5c372f84dde7a5ad148cf2a00b0d58676 IN  0xa944f9387e62cd6049e47986b9d8bde031ad47290 BNB0.000514605
0x6a5e3a4e96f7db20224ae284230da4a15208bf741fbc92016df83cbd9b3f9446Deposit119680142021-10-21 15:20:213 hrs 3 mins ago0xec657b12f4aa1c453167a6bb89a220081b106078 IN  0xa944f9387e62cd6049e47986b9d8bde031ad47290 BNB0.00050751
0xfb821fe4a05ed1c747058c8c9248b30a5b7304ea665b13bccfc8c81a355e8c51Claim119680072021-10-21 15:20:003 hrs 3 mins ago0x50f028bd83ae3290b2d06e223b99be78b665d1ea IN  0xa944f9387e62cd6049e47986b9d8bde031ad47290 BNB0.000493605
0x0d159b0560b20d59688f14471153cbbf38a73ae5829d05130cff72801cd60006Claim119679852021-10-21 15:18:543 hrs 4 mins ago0xec657b12f4aa1c453167a6bb89a220081b106078 IN  0xa944f9387e62cd6049e47986b9d8bde031ad47290 BNB0.000514605
0x129c3f6172ad883d001a5ef33ecee92c54017cc303294dfc9b1ab4155f02158fDeposit119678282021-10-21 15:10:183 hrs 13 mins ago0xd8d2995a554f4c9e32ef81205f086ff276fcd399 IN  0xa944f9387e62cd6049e47986b9d8bde031ad47290 BNB0.00043257
0x0474f70ae92020c5ae9af56a7eafca572b9d674371c7717a8ae4f6ece4fc701cDeposit119676062021-10-21 14:59:033 hrs 24 mins ago0x1bf8ba061664339baf1e1d016d8f6cea9455f404 IN  0xa944f9387e62cd6049e47986b9d8bde031ad47290 BNB0.00043251
0x2c22e0a8211c8a38c0cc8e9905cc625115b0652175fe5fa53bf6f0b3314bcf4dDeposit119673842021-10-21 14:47:543 hrs 35 mins ago0xe65d0aa60c208ed85d365bb58b5d5d7e9e2dc8e9 IN  0xa944f9387e62cd6049e47986b9d8bde031ad47290 BNB0.00043245
0xcbb4190665d3c39891c1dc7cde229359a9f04d9406356c3b0eae95131fb02a99Deposit119673252021-10-21 14:44:573 hrs 38 mins ago0x88e3ee655cf692b4b6372657a22974c5b0b37d33 IN  0xa944f9387e62cd6049e47986b9d8bde031ad47290 BNB0.00050751
0xda180487063fc91ea0f93064c6cac3971aed804333ed56ab685bf8ee6677db86Claim119673022021-10-21 14:43:483 hrs 39 mins ago0x88e3ee655cf692b4b6372657a22974c5b0b37d33 IN  0xa944f9387e62cd6049e47986b9d8bde031ad47290 BNB0.000493605
0xafcedff7b85758e00c8b29213fdf3f84d0cd4e7d3479461dbb6390524874b8ebDeposit119671922021-10-21 14:38:183 hrs 45 mins ago0x4283c99abd5c345e7979b188c57e83834f919dc0 IN  0xa944f9387e62cd6049e47986b9d8bde031ad47290 BNB0.00050751
0x478535c416a1c5adcccdc5e4d4ee7506e11520e3ebd28a06b2bd6ee5e1c82b5dClaim119671632021-10-21 14:36:513 hrs 46 mins ago0x4283c99abd5c345e7979b188c57e83834f919dc0 IN  0xa944f9387e62cd6049e47986b9d8bde031ad47290 BNB0.000514605
0x315f9ffb77d6631a18cf7ca733a8be077793f8ad937689053a40571c2ac2ef55Deposit119671542021-10-21 14:36:243 hrs 47 mins ago0x3b7febc137c8027a81cdd552351633134bab03a9 IN  0xa944f9387e62cd6049e47986b9d8bde031ad47290 BNB0.00043257
0x455b7884d79386ea05765fc4eff94120a056749399a5c0abbc8dfd95a6c93989Deposit119668382021-10-21 14:17:504 hrs 5 mins ago0xaf6e981f0d4dc9c22a13546a28223ad5876ec15c IN  0xa944f9387e62cd6049e47986b9d8bde031ad47290 BNB0.00050745
0x494ccdbde59f6cdbaaa08d4bcf4652f9d674b35d15ee86d913649ab4926a8317Claim119668302021-10-21 14:17:204 hrs 6 mins ago0xaf6e981f0d4dc9c22a13546a28223ad5876ec15c IN  0xa944f9387e62cd6049e47986b9d8bde031ad47290 BNB0.000514605
0xafe9eccab5107fc10d1a475c20596041e5d1e2f91fd3ae044485c4ca89a8900dDeposit119666572021-10-21 14:07:154 hrs 16 mins ago0x3b7febc137c8027a81cdd552351633134bab03a9 IN  0xa944f9387e62cd6049e47986b9d8bde031ad47290 BNB0.00050751
0x4683e9d37f9aa72c265e9669eb73122be6ad019f8f2a101568799f5204aa2ddcClaim119666402021-10-21 14:06:244 hrs 17 mins ago0x3b7febc137c8027a81cdd552351633134bab03a9 IN  0xa944f9387e62cd6049e47986b9d8bde031ad47290 BNB0.000439605
0x4ea44e15197047a691be90b5746e3334ecaf11ecdea057ee21c93397a378111fClaim119665032021-10-21 13:58:584 hrs 24 mins ago0x21b2923d6689c8eb7a3d2592cc5ed380e2875aa6 IN  0xa944f9387e62cd6049e47986b9d8bde031ad47290 BNB0.00042269
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0x45ce1777493ce73141d5875f5ba263dc710866a6f697e3079e5f3a29cfdd9b15103327422021-08-25 8:58:2157 days 9 hrs ago 0xa944f9387e62cd6049e47986b9d8bde031ad4729  Contract Creation0 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TrustPadStakingV3

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 10 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";
/**
 * @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 () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 2 of 10 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 3 of 10 : SafeERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../../../utils/Address.sol";

/**
 * @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'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

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

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

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 4 of 10 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

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

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 5 of 10 : Context.sol
// SPDX-License-Identifier: MIT

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) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 6 of 10 : ILevelManager.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface ILevelManager {
    struct Tier {
        string id;
        uint8 multiplier;
        uint256 lockingPeriod; // in seconds
        uint256 minAmount; // tier is applied when userAmount >= minAmount
        bool random;
        uint8 odds; // divider: 2 = 50%, 4 = 25%, 10 = 10%
    }

    function isLocked(address account) external view returns(bool);
    function getTierById(string calldata id) external view returns (Tier memory);
    function getUserTier(address account) external view returns (Tier memory);
    function getUserUnlockTime(address account) external view returns (uint256);
    function getTierIds() external view returns (string[] memory);
    function lock(address account, uint idoStart) external;
}

File 7 of 10 : IStakingLockable.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface IStakingLockable {
    function isLocked(address account) external view returns(bool);
    function getLockedAmount(address account) external view returns(uint256);
}

interface IStakingLockableExternal {
    struct UserInfo {
        uint256 amount;
        uint256 rewardDebt;
        uint256 pendingRewards;
    }
    function userInfo(address account) external view returns (UserInfo memory);
    function isLocked(address account) external view returns(bool);
    function getLockedAmount(address account) external view returns(uint256);
}

File 8 of 10 : Stakeable.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "./StakingTreasury.sol";

abstract contract Stakeable is Ownable {
    using SafeERC20 for IERC20;

    struct PoolInfo {
        IERC20 stakingToken;
        uint256 lastRewardBlock;
        uint256 accRewardPerShare;
    }

    struct UserInfo {
        uint256 amount;
        uint256 rewardDebt;
        uint256 pendingRewards;
    }

    mapping(address => UserInfo) public userInfo;

    IERC20 public rewardToken;
    uint256 public rewardPerBlock = 1 * 1e9; // 1 token
    uint256 private divider = 1e12;

    // Keeps reward tokens
    StakingTreasury public treasury;

    // base 1000, value * % / 100
    uint256 public feePercent = 0;
    uint256 public collectedFees;

    PoolInfo public liquidityMining;

    event Deposit(address indexed user, uint256 amount);
    event Withdraw(address indexed user, uint256 amount);
    event Claim(address indexed user, uint256 amount);

    constructor() {
        treasury = new StakingTreasury();
    }

    function setPoolInfo(IERC20 _rewardToken, IERC20 _stakingToken) external onlyOwner {
        require(address(rewardToken) == address(0) && address(liquidityMining.stakingToken) == address(0), 'Token is already set');
        rewardToken = _rewardToken;
        liquidityMining = PoolInfo({stakingToken : _stakingToken, lastRewardBlock : 0, accRewardPerShare : 0});
        treasury.allowClaiming(_rewardToken);
    }

    function startMining() external onlyOwner {
        require(liquidityMining.lastRewardBlock == 0, 'Mining already started');
        liquidityMining.lastRewardBlock = block.number;
    }

    function pendingRewards(address _user) external view returns (uint256) {
        if (liquidityMining.lastRewardBlock == 0 || block.number < liquidityMining.lastRewardBlock) {
            return 0;
        }

        UserInfo storage user = userInfo[_user];
        uint256 accRewardPerShare = liquidityMining.accRewardPerShare;
        uint256 stakingTokenSupply = liquidityMining.stakingToken.balanceOf(address(this));

        if (block.number > liquidityMining.lastRewardBlock && stakingTokenSupply != 0) {
            uint256 perBlock = rewardPerBlock;
            uint256 multiplier = block.number - liquidityMining.lastRewardBlock;
            uint256 reward = multiplier * perBlock;
            accRewardPerShare = accRewardPerShare + (reward * divider / stakingTokenSupply);
        }

        return (user.amount * accRewardPerShare / divider) - user.rewardDebt + user.pendingRewards;
    }

    function updatePool() internal {
        require(liquidityMining.lastRewardBlock > 0 && block.number >= liquidityMining.lastRewardBlock, 'Mining not yet started');
        if (block.number <= liquidityMining.lastRewardBlock) {
            return;
        }
        uint256 stakingTokenSupply = liquidityMining.stakingToken.balanceOf(address(this));
        if (stakingTokenSupply == 0) {
            liquidityMining.lastRewardBlock = block.number;
            return;
        }
        uint256 multiplier = block.number - liquidityMining.lastRewardBlock;
        uint256 tokensReward = multiplier * rewardPerBlock;
        liquidityMining.accRewardPerShare = liquidityMining.accRewardPerShare + (tokensReward * divider / stakingTokenSupply);
        liquidityMining.lastRewardBlock = block.number;
    }

    function deposit(uint256 amount) public virtual {
        UserInfo storage user = userInfo[msg.sender];
        updatePool();

        uint256 accRewardPerShare = liquidityMining.accRewardPerShare;

        if (user.amount > 0) {
            uint256 pending = (user.amount * accRewardPerShare / divider) - user.rewardDebt;
            if (pending > 0) {
                user.pendingRewards = user.pendingRewards + pending;
            }
        }
        if (amount > 0) {
            liquidityMining.stakingToken.safeTransferFrom(address(msg.sender), address(this), amount);

            if (feePercent > 0) {
                uint256 fee = amount * feePercent / 1000;
                amount = amount - fee;
                collectedFees = collectedFees + fee;
            }

            user.amount = user.amount + amount;
        }
        user.rewardDebt = user.amount * accRewardPerShare / divider;
        emit Deposit(msg.sender, amount);
    }

    function withdraw(uint256 amount) public virtual {
        UserInfo storage user = userInfo[msg.sender];
        require(user.amount >= amount, "Withdrawing more than you have!");
        updatePool();

        uint256 accRewardPerShare = liquidityMining.accRewardPerShare;

        uint256 pending = (user.amount * accRewardPerShare / divider) - user.rewardDebt;
        if (pending > 0) {
            user.pendingRewards = user.pendingRewards + pending;
        }
        if (amount > 0) {
            user.amount = user.amount - amount;

            if (feePercent > 0) {
                uint256 fee = amount * feePercent / 1000;
                amount = amount - fee;
                collectedFees = collectedFees + fee;
            }

            liquidityMining.stakingToken.safeTransfer(address(msg.sender), amount);
        }
        user.rewardDebt = user.amount * accRewardPerShare / divider;
        emit Withdraw(msg.sender, amount);
    }

    function claim() external {
        UserInfo storage user = userInfo[msg.sender];
        updatePool();

        uint256 accRewardPerShare = liquidityMining.accRewardPerShare;

        uint256 pending = (user.amount * accRewardPerShare / divider) - user.rewardDebt;
        if (pending > 0 || user.pendingRewards > 0) {
            user.pendingRewards = user.pendingRewards + pending;
            uint256 claimedAmount = safeRewardTransfer(msg.sender, user.pendingRewards);
            emit Claim(msg.sender, claimedAmount);
            user.pendingRewards = user.pendingRewards - claimedAmount;
        }
        user.rewardDebt = user.amount * accRewardPerShare / divider;
    }

    function safeRewardTransfer(address to, uint256 amount) internal returns (uint256) {
        uint256 balance = rewardToken.balanceOf(address(treasury));
        require(amount > 0, 'Reward amount must be more than zero');
        require(balance > 0, 'Not enough reward tokens for transfer');
        if (amount > balance) {
            rewardToken.safeTransferFrom(address(treasury), to, balance);
            return balance;
        }

        rewardToken.safeTransferFrom(address(treasury), to, amount);
        return amount;
    }

    function setRewardPerBlock(uint256 _rewardPerBlock) external onlyOwner {
        require(_rewardPerBlock > 0, "Reward per block should be greater than 0");
        rewardPerBlock = _rewardPerBlock;
    }

    function setFee(uint256 fee) external onlyOwner {
        require(fee >= 0, 'Fee is too small');
        require(fee <= 50, 'Fee is too big');
        feePercent = fee;
    }

    function withdrawFees(address payable withdrawalAddress) external onlyOwner {
        liquidityMining.stakingToken.safeTransfer(withdrawalAddress, collectedFees);
        collectedFees = 0;
    }
}

File 9 of 10 : StakingTreasury.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

contract StakingTreasury is Ownable {
    function allowClaiming(IERC20 _rewardToken) external onlyOwner {
        _rewardToken.approve(this.owner(), 10000000000 ether);
    }

    function withdrawRewards(IERC20 _rewardToken, address recipient) external onlyOwner {
        _rewardToken.transfer(recipient, _rewardToken.balanceOf(address(this)));
    }
}

File 10 of 10 : TrustPadStakingV3.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "./StakingTreasury.sol";
import "./Stakeable.sol";
import "../levels/IStakingLockable.sol";
import "../levels/ILevelManager.sol";

contract TrustPadStakingV3 is Ownable, IStakingLockable, Stakeable {
    using SafeERC20 for IERC20;

    ILevelManager public levelManager;

    bool public halted = false;

    event LevelManagerSet(address newAddress);
    event Halted(bool status);

    constructor(address _levelManager) Stakeable() {
        levelManager = ILevelManager(_levelManager);
    }

    function isLocked(address account) public view override returns (bool) {
        return address(levelManager) != address(0) && levelManager.isLocked(account);
    }

    function getLockedAmount(address account) external view override returns (uint256) {
        return userInfo[account].amount;
    }

    function setLevelManager(address _levelManager) external onlyOwner {
        levelManager = ILevelManager(_levelManager);
        emit LevelManagerSet(_levelManager);
    }

    function halt(bool status) external onlyOwner {
        halted = status;
        emit Halted(status);
    }

    modifier lockable() {
        require(!isLocked(_msgSender()), "Account is locked");
        _;
    }

    modifier notHalted() {
        require(!halted, "Deposits are paused");
        _;
    }

    function deposit(uint256 amount) public override notHalted {
        super.deposit(amount);
    }

    function withdraw(uint256 amount) public override lockable {
        super.withdraw(amount);
    }

    function withdrawRewards() external onlyOwner {
        treasury.withdrawRewards(rewardToken, _msgSender());
    }
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "evmVersion": "istanbul",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_levelManager","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Claim","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"status","type":"bool"}],"name":"Halted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newAddress","type":"address"}],"name":"LevelManagerSet","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":"Withdraw","type":"event"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"collectedFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feePercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getLockedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"status","type":"bool"}],"name":"halt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"halted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"levelManager","outputs":[{"internalType":"contract ILevelManager","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityMining","outputs":[{"internalType":"contract IERC20","name":"stakingToken","type":"address"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"accRewardPerShare","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"pendingRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"fee","type":"uint256"}],"name":"setFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_levelManager","type":"address"}],"name":"setLevelManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_rewardToken","type":"address"},{"internalType":"contract IERC20","name":"_stakingToken","type":"address"}],"name":"setPoolInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rewardPerBlock","type":"uint256"}],"name":"setRewardPerBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startMining","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"contract StakingTreasury","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"},{"internalType":"uint256","name":"pendingRewards","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"withdrawalAddress","type":"address"}],"name":"withdrawFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawRewards","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052633b9aca0060035564e8d4a510006004556000600655600b805460ff60a01b191690553480156200003457600080fd5b5060405162001fc638038062001fc6833981016040819052620000579162000107565b600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350604051620000a690620000f9565b604051809103906000f080158015620000c3573d6000803e3d6000fd5b50600580546001600160a01b039283166001600160a01b031991821617909155600b805493909216921691909117905562000137565b61061f80620019a783390190565b60006020828403121562000119578081fd5b81516001600160a01b038116811462000130578182fd5b9392505050565b61186080620001476000396000f3fe608060405234801561001057600080fd5b506004361061018e5760003560e01c806385b2d535116100de578063b6b55f2511610097578063bd152bc711610071578063bd152bc7146103ab578063c7b8981c146103be578063f2fde38b146103c6578063f7c618c1146103d957600080fd5b8063b6b55f2514610371578063b9b8af0b14610384578063bb872b4a1461039857600080fd5b806385b2d535146102d25780638ae39cac146103125780638da5cb5b1461031b5780639003adfe1461032c578063929ec5371461033557806396a38d221461035e57600080fd5b80634a4fbeec1161014b57806369fe0e2d1161012557806369fe0e2d1461029b578063715018a6146102ae578063789513ec146102b65780637fd6f15c146102c957600080fd5b80634a4fbeec1461025d5780634e71d92d1461028057806361d027b31461028857600080fd5b8063164e68de146101935780631959a002146101a857806321b79d98146101f65780632a8d950c146101fe5780632e1a7d4d1461022957806331d7a2621461023c575b600080fd5b6101a66101a1366004611617565b6103ec565b005b6101d66101b6366004611617565b600160208190526000918252604090912080549181015460029091015483565b604080519384526020840192909252908201526060015b60405180910390f35b6101a6610444565b600b54610211906001600160a01b031681565b6040516001600160a01b0390911681526020016101ed565b6101a66102373660046116a3565b6104bd565b61024f61024a366004611617565b610513565b6040519081526020016101ed565b61027061026b366004611617565b61066a565b60405190151581526020016101ed565b6101a6610705565b600554610211906001600160a01b031681565b6101a66102a93660046116a3565b610802565b6101a6610873565b6101a66102c436600461166b565b6108e7565b61024f60065481565b600854600954600a546102ed926001600160a01b0316919083565b604080516001600160a01b0390941684526020840192909252908201526060016101ed565b61024f60035481565b6000546001600160a01b0316610211565b61024f60075481565b61024f610343366004611617565b6001600160a01b031660009081526001602052604090205490565b6101a661036c366004611633565b610a23565b6101a661037f3660046116a3565b610aa5565b600b5461027090600160a01b900460ff1681565b6101a66103a63660046116a3565b610afe565b6101a66103b9366004611617565b610b8f565b6101a6610c07565b6101a66103d4366004611617565b610cad565b600254610211906001600160a01b031681565b6000546001600160a01b0316331461041f5760405162461bcd60e51b815260040161041690611722565b60405180910390fd5b60075460085461043c916001600160a01b03909116908390610d97565b506000600755565b6000546001600160a01b0316331461046e5760405162461bcd60e51b815260040161041690611722565b600954156104b75760405162461bcd60e51b8152602060048201526016602482015275135a5b9a5b99c8185b1c9958591e481cdd185c9d195960521b6044820152606401610416565b43600955565b6104c63361066a565b156105075760405162461bcd60e51b81526020600482015260116024820152701058d8dbdd5b9d081a5cc81b1bd8dad959607a1b6044820152606401610416565b61051081610dff565b50565b6009546000901580610526575060095443105b1561053357506000919050565b6001600160a01b03828116600090815260016020526040808220600a5460085492516370a0823160e01b8152306004820152919490939216906370a082319060240160206040518083038186803b15801561058d57600080fd5b505afa1580156105a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105c591906116bb565b600954909150431180156105d857508015155b15610629576003546009546000906105f090436117ae565b905060006105fe838361178f565b9050836004548261060f919061178f565b610619919061176f565b6106239086611757565b94505050505b60028301546001840154600454855461064390869061178f565b61064d919061176f565b61065791906117ae565b6106619190611757565b95945050505050565b600b546000906001600160a01b0316158015906106ff5750600b54604051631293efbb60e21b81526001600160a01b03848116600483015290911690634a4fbeec9060240160206040518083038186803b1580156106c757600080fd5b505afa1580156106db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ff919061164f565b92915050565b33600090815260016020526040902061071c610f82565b600a5460018201546004548354600092919061073990859061178f565b610743919061176f565b61074d91906117ae565b90506000811180610762575060008360020154115b156107db578083600201546107779190611757565b6002840181905560009061078c9033906110c5565b60405181815290915033907f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d49060200160405180910390a28084600201546107d491906117ae565b6002850155505b60045483546107eb90849061178f565b6107f5919061176f565b8360010181905550505050565b6000546001600160a01b0316331461082c5760405162461bcd60e51b815260040161041690611722565b603281111561086e5760405162461bcd60e51b815260206004820152600e60248201526d46656520697320746f6f2062696760901b6044820152606401610416565b600655565b6000546001600160a01b0316331461089d5760405162461bcd60e51b815260040161041690611722565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146109115760405162461bcd60e51b815260040161041690611722565b6002546001600160a01b031615801561093357506008546001600160a01b0316155b6109765760405162461bcd60e51b8152602060048201526014602482015273151bdad95b881a5cc8185b1c9958591e481cd95d60621b6044820152606401610416565b600280546001600160a01b038481166001600160a01b031992831681179093556040805160608101825285831680825260006020830181905291830182905260088054909516179093556009839055600a9290925560055491516312759a7960e01b8152600481019390935216906312759a7990602401600060405180830381600087803b158015610a0757600080fd5b505af1158015610a1b573d6000803e3d6000fd5b505050505050565b6000546001600160a01b03163314610a4d5760405162461bcd60e51b815260040161041690611722565b600b8054821515600160a01b0260ff60a01b199091161790556040517f92333b0b676476985757350034668cb9ee247674ac7a7479de10cd761381f73390610a9a90831515815260200190565b60405180910390a150565b600b54600160a01b900460ff1615610af55760405162461bcd60e51b815260206004820152601360248201527211195c1bdcda5d1cc8185c99481c185d5cd959606a1b6044820152606401610416565b61051081611257565b6000546001600160a01b03163314610b285760405162461bcd60e51b815260040161041690611722565b60008111610b8a5760405162461bcd60e51b815260206004820152602960248201527f5265776172642070657220626c6f636b2073686f756c6420626520677265617460448201526806572207468616e20360bc1b6064820152608401610416565b600355565b6000546001600160a01b03163314610bb95760405162461bcd60e51b815260040161041690611722565b600b80546001600160a01b0319166001600160a01b0383169081179091556040519081527f270a7be34a25ae812f8041d2edc67395bafb5da7879a06e3fa2abcf8a37927da90602001610a9a565b6000546001600160a01b03163314610c315760405162461bcd60e51b815260040161041690611722565b6005546002546001600160a01b039182169163e20981ca9116336040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401600060405180830381600087803b158015610c9357600080fd5b505af1158015610ca7573d6000803e3d6000fd5b50505050565b6000546001600160a01b03163314610cd75760405162461bcd60e51b815260040161041690611722565b6001600160a01b038116610d3c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610416565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6040516001600160a01b038316602482015260448101829052610dfa90849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611393565b505050565b3360009081526001602052604090208054821115610e5f5760405162461bcd60e51b815260206004820152601f60248201527f5769746864726177696e67206d6f7265207468616e20796f75206861766521006044820152606401610416565b610e67610f82565b600a54600182015460045483546000929190610e8490859061178f565b610e8e919061176f565b610e9891906117ae565b90508015610eb657808360020154610eb09190611757565b60028401555b8315610f28578254610ec99085906117ae565b835560065415610f115760006103e860065486610ee6919061178f565b610ef0919061176f565b9050610efc81866117ae565b945080600754610f0c9190611757565b600755505b600854610f28906001600160a01b03163386610d97565b6004548354610f3890849061178f565b610f42919061176f565b600184015560405184815233907f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a94243649060200160405180910390a250505050565b60095415801590610f9557506009544310155b610fda5760405162461bcd60e51b8152602060048201526016602482015275135a5b9a5b99c81b9bdd081e595d081cdd185c9d195960521b6044820152606401610416565b6009544311610fe557565b6008546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a082319060240160206040518083038186803b15801561102957600080fd5b505afa15801561103d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061106191906116bb565b90508061106f575043600955565b60095460009061107f90436117ae565b9050600060035482611091919061178f565b905082600454826110a2919061178f565b6110ac919061176f565b600a546110b99190611757565b600a5550504360095550565b6002546005546040516370a0823160e01b81526001600160a01b039182166004820152600092839216906370a082319060240160206040518083038186803b15801561111057600080fd5b505afa158015611124573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061114891906116bb565b9050600083116111a65760405162461bcd60e51b8152602060048201526024808201527f52657761726420616d6f756e74206d757374206265206d6f7265207468616e206044820152637a65726f60e01b6064820152608401610416565b600081116112045760405162461bcd60e51b815260206004820152602560248201527f4e6f7420656e6f7567682072657761726420746f6b656e7320666f72207472616044820152643739b332b960d91b6064820152608401610416565b808311156112315760055460025461122a916001600160a01b0391821691168684611465565b90506106ff565b60055460025461124f916001600160a01b0391821691168686611465565b509092915050565b33600090815260016020526040902061126e610f82565b600a548154156112c65760008260010154600454838560000154611292919061178f565b61129c919061176f565b6112a691906117ae565b905080156112c4578083600201546112be9190611757565b60028401555b505b821561133a576008546112e4906001600160a01b0316333086611465565b6006541561132a5760006103e8600654856112ff919061178f565b611309919061176f565b905061131581856117ae565b9350806007546113259190611757565b600755505b8154611337908490611757565b82555b600454825461134a90839061178f565b611354919061176f565b600183015560405183815233907fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c9060200160405180910390a2505050565b60006113e8826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661149d9092919063ffffffff16565b805190915015610dfa5780806020019051810190611406919061164f565b610dfa5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610416565b6040516001600160a01b0380851660248301528316604482015260648101829052610ca79085906323b872dd60e01b90608401610dc3565b60606114ac84846000856114b6565b90505b9392505050565b6060824710156115175760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610416565b843b6115655760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610416565b600080866001600160a01b0316858760405161158191906116d3565b60006040518083038185875af1925050503d80600081146115be576040519150601f19603f3d011682016040523d82523d6000602084013e6115c3565b606091505b50915091506115d38282866115de565b979650505050505050565b606083156115ed5750816114af565b8251156115fd5782518084602001fd5b8160405162461bcd60e51b815260040161041691906116ef565b600060208284031215611628578081fd5b81356114af81611807565b600060208284031215611644578081fd5b81356114af8161181c565b600060208284031215611660578081fd5b81516114af8161181c565b6000806040838503121561167d578081fd5b823561168881611807565b9150602083013561169881611807565b809150509250929050565b6000602082840312156116b4578081fd5b5035919050565b6000602082840312156116cc578081fd5b5051919050565b600082516116e58184602087016117c5565b9190910192915050565b602081526000825180602084015261170e8160408501602087016117c5565b601f01601f19169190910160400192915050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000821982111561176a5761176a6117f1565b500190565b60008261178a57634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156117a9576117a96117f1565b500290565b6000828210156117c0576117c06117f1565b500390565b60005b838110156117e05781810151838201526020016117c8565b83811115610ca75750506000910152565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b038116811461051057600080fd5b801515811461051057600080fdfea2646970667358221220ac3f409396862cb9af6a165b77b23e88c4664fe78a4e6489c86867361598f79664736f6c63430008040033608060405234801561001057600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506105be806100616000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c806312759a791461005c578063715018a6146100715780638da5cb5b14610079578063e20981ca14610098578063f2fde38b146100ab575b600080fd5b61006f61006a36600461048c565b6100be565b005b61006f610200565b600054604080516001600160a01b039092168252519081900360200190f35b61006f6100a63660046104eb565b610274565b61006f6100b936600461048c565b6103a2565b6000546001600160a01b031633146100f15760405162461bcd60e51b81526004016100e89061053b565b60405180910390fd5b806001600160a01b031663095ea7b3306001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561013957600080fd5b505afa15801561014d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061017191906104af565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201526b204fce5e3e250261100000006024820152604401602060405180830381600087803b1580156101c457600080fd5b505af11580156101d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101fc91906104cb565b5050565b6000546001600160a01b0316331461022a5760405162461bcd60e51b81526004016100e89061053b565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b0316331461029e5760405162461bcd60e51b81526004016100e89061053b565b6040516370a0823160e01b81523060048201526001600160a01b0383169063a9059cbb90839083906370a082319060240160206040518083038186803b1580156102e757600080fd5b505afa1580156102fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061031f9190610523565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381600087803b15801561036557600080fd5b505af1158015610379573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061039d91906104cb565b505050565b6000546001600160a01b031633146103cc5760405162461bcd60e51b81526004016100e89061053b565b6001600160a01b0381166104315760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016100e8565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60006020828403121561049d578081fd5b81356104a881610570565b9392505050565b6000602082840312156104c0578081fd5b81516104a881610570565b6000602082840312156104dc578081fd5b815180151581146104a8578182fd5b600080604083850312156104fd578081fd5b823561050881610570565b9150602083013561051881610570565b809150509250929050565b600060208284031215610534578081fd5b5051919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6001600160a01b038116811461058557600080fd5b5056fea26469706673582212207be776d62568a21e2e352177e28e1e6c05c992966a4f91b8aa866ffdf073a8d664736f6c63430008040033000000000000000000000000f636dce8625cc793728a2f4dde711d43ed889837

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

000000000000000000000000f636dce8625cc793728a2f4dde711d43ed889837

-----Decoded View---------------
Arg [0] : _levelManager (address): 0xf636dce8625cc793728a2f4dde711d43ed889837

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000f636dce8625cc793728a2f4dde711d43ed889837


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