Contract 0x9E6395EAb200c07307CC08794A063A538c85c3a0

 

Contract Overview

Balance:
0 BNB

BNB Value:
$0.00

Token:
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xf3e7b4031fef95ae802ec3452950f9515e37d3e5d3ad764fb25e8bcde3ad25f5Claim119708962021-10-21 17:47:0119 mins ago0x2c2e84b3bdf6c4d4a8232bd6c5006484b0dce81b IN  0x9e6395eab200c07307cc08794a063a538c85c3a00 BNB0.00048323
0xb4f7d766ad8aab8129927fbbe207085852ac1959619b276ac8f6dc0394a1eb74Claim119701962021-10-21 17:11:4454 mins ago0xd9440a48c2e81c8a007ed6ae1856daac5df4ff25 IN  0x9e6395eab200c07307cc08794a063a538c85c3a00 BNB0.000479145
0x678169ccff7feb335a0d5fd1b2cea1687d92816af5ae9ea98cbf80dbb02f6d62Deposit119701682021-10-21 17:10:2055 mins ago0x05119f872a41176e47164665eeed417bb5e73fd7 IN  0x9e6395eab200c07307cc08794a063a538c85c3a00 BNB0.000497175
0x008e0e9d0e48edd9bcbb13b957aea22bbaa7b4e0486f276ae615ffd2e23d4667Claim119698562021-10-21 16:54:441 hr 11 mins ago0xbef1fefe4bb6dda516e9af3a3f793d182cf053bc IN  0x9e6395eab200c07307cc08794a063a538c85c3a00 BNB0.000554145
0xc4ad0b437bac37046a0658801c1c4c472420713857c4b5f21fb90392af15ca3bDeposit119680952021-10-21 15:24:242 hrs 41 mins ago0x7f8595e5c372f84dde7a5ad148cf2a00b0d58676 IN  0x9e6395eab200c07307cc08794a063a538c85c3a00 BNB0.000497115
0x4808a97e5f793a4790cd88c76b7303e266bb5c1beb70260211642bcc93627dceClaim119679802021-10-21 15:18:392 hrs 47 mins ago0x50f028bd83ae3290b2d06e223b99be78b665d1ea IN  0x9e6395eab200c07307cc08794a063a538c85c3a00 BNB0.000479145
0x5ec292c230ac0f408f2f403c0c9f443a13177fea13648c699a63557423355a62Claim119672942021-10-21 14:43:243 hrs 22 mins ago0x88e3ee655cf692b4b6372657a22974c5b0b37d33 IN  0x9e6395eab200c07307cc08794a063a538c85c3a00 BNB0.000425145
0xe1b4aece2e0c0c9f2e0802986a554530ce25c3e247f460a326514770c599e1cfDeposit119669962021-10-21 14:27:173 hrs 38 mins ago0x32b8d0effe0693fe2f779ec4fb6b9818d06a4b10 IN  0x9e6395eab200c07307cc08794a063a538c85c3a00 BNB0.000464935
0xb26c8e1a56cfabce7d86ae2c5808a2f2b3ebaa86d0d7f54901944fbaa1098197Claim119669602021-10-21 14:25:103 hrs 40 mins ago0x32b8d0effe0693fe2f779ec4fb6b9818d06a4b10 IN  0x9e6395eab200c07307cc08794a063a538c85c3a00 BNB0.000500145
0xc82dba63be78452dbbc78208b4f8e9a5ddb48d1058f1581c77de8fd21400b616Claim119666352021-10-21 14:06:093 hrs 59 mins ago0x3b7febc137c8027a81cdd552351633134bab03a9 IN  0x9e6395eab200c07307cc08794a063a538c85c3a00 BNB0.00048323
0x72cf403f55bcacdd2be61f16c0b97a5a5f0b195ae5e56618f784b5ea5db1471eWithdraw119666112021-10-21 14:04:574 hrs 1 min ago0x3b7febc137c8027a81cdd552351633134bab03a9 IN  0x9e6395eab200c07307cc08794a063a538c85c3a00 BNB0.000452735
0xfe4458d4a4d496d7e06abca68a72b51881fc4d91ea8fb9db85db644786b452feWithdraw119653142021-10-21 12:54:045 hrs 12 mins ago0xd43389f2663e2a27c023eae960a39543ba648416 IN  0x9e6395eab200c07307cc08794a063a538c85c3a00 BNB0.000452735
0x9b987e3031a47d347ea83270b15ddc4a8812f1f33945494a2beda68cbb0e8d23Deposit119650992021-10-21 12:43:185 hrs 22 mins ago0xd43389f2663e2a27c023eae960a39543ba648416 IN  0x9e6395eab200c07307cc08794a063a538c85c3a00 BNB0.000497175
0xe9595b257ccdb61bbcd153d1114f3b5fe7cac28fb0a3ebba2c9fe9870fa62783Deposit119650102021-10-21 12:38:515 hrs 27 mins ago0x2e7b64cd3fa821441e13c50b125e968057d73d6d IN  0x9e6395eab200c07307cc08794a063a538c85c3a00 BNB0.000389935
0x605d6f29e1a76946b86d9d7e52250f81261ece2fe949d735e8ef4127687f4685Deposit119648722021-10-21 12:31:565 hrs 34 mins ago0x2e7b64cd3fa821441e13c50b125e968057d73d6d IN  0x9e6395eab200c07307cc08794a063a538c85c3a00 BNB0.000464935
0xa444c01e7b68f83a4c696d82f3590d345a14d3f2e75fe62469f6fe3dd2298702Claim119648312021-10-21 12:29:535 hrs 36 mins ago0x2e7b64cd3fa821441e13c50b125e968057d73d6d IN  0x9e6395eab200c07307cc08794a063a538c85c3a00 BNB0.000500145
0xd1a6ae94f16449620026fa3eb6932f171b7ed3be4d3cb0855f3020f9190cbe15Deposit119621712021-10-21 10:14:237 hrs 51 mins ago0x7b7b77693dd8fa5f0f3d1e1e290f049adf2d4773 IN  0x9e6395eab200c07307cc08794a063a538c85c3a00 BNB0.000464935
0x1963cffd2bb6e9ad936e6495a082e4afc1198fc48a54577620106e0f8657b559Claim119621462021-10-21 10:13:087 hrs 52 mins ago0x7b7b77693dd8fa5f0f3d1e1e290f049adf2d4773 IN  0x9e6395eab200c07307cc08794a063a538c85c3a00 BNB0.000425145
0xbff6158d188e109b04547291c24e15fdd9578f14d88374bdc44dbd603297bf83Deposit119620502021-10-21 10:08:207 hrs 57 mins ago0x3079c90fe3a784186f3ae6ce6d6318ad326b1c7e IN  0x9e6395eab200c07307cc08794a063a538c85c3a00 BNB0.000464995
0x4d780c6a95c3f4fb3c7583b288e20dd24ecaa3657dbd9b46a620534635ec7057Withdraw119615682021-10-21 9:44:048 hrs 22 mins ago0x526eb5795b00177476d34a3b60f280d7dc0fe7a6 IN  0x9e6395eab200c07307cc08794a063a538c85c3a00 BNB0.000452735
0x6e84566b2f3b2388bda4d044fb737de5ed174c2381ff608840a6d13cd5d6c182Claim119615532021-10-21 9:43:198 hrs 22 mins ago0x526eb5795b00177476d34a3b60f280d7dc0fe7a6 IN  0x9e6395eab200c07307cc08794a063a538c85c3a00 BNB0.000554145
0x817ae4bbf4712b4a86decf0db5e882f56e657249420e0b85cee429b7496151a8Claim119615192021-10-21 9:41:378 hrs 24 mins ago0x2121a20445a676d8804c3c980d0add2571ab255e IN  0x9e6395eab200c07307cc08794a063a538c85c3a00 BNB0.000554145
0x3c6e7014c3747a35026cc7eafacf8b6510b9f78012d57c3bc3ae613209332aedDeposit119614962021-10-21 9:40:288 hrs 25 mins ago0xe609549239157ff1341015308b1bff447ba7efe8 IN  0x9e6395eab200c07307cc08794a063a538c85c3a00 BNB0.000464935
0x609ffcbcb8121252f9dc7fbbd311d34250dbb47d0ffee1f0643aa119a6f44b47Claim119613192021-10-21 9:31:378 hrs 34 mins ago0xe609549239157ff1341015308b1bff447ba7efe8 IN  0x9e6395eab200c07307cc08794a063a538c85c3a00 BNB0.000500145
0xa4af1c9d0afb831eb197f973300eb60fc61a5fd31307fb398c8d2447ab9235cdClaim119608662021-10-21 9:08:258 hrs 57 mins ago0x8dd57f9689af3a9f5183c413f0a9fbad4a549ed8 IN  0x9e6395eab200c07307cc08794a063a538c85c3a00 BNB0.000479145
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0xc09cdee93807670fa741cada5877442320c7d312316b92c97344f3feeb8e37e0103334392021-08-25 9:33:1257 days 8 hrs ago 0x9e6395eab200c07307cc08794a063a538c85c3a0  Contract Creation0 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Similar Match)
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0xA944F9387E62CD6049E47986b9D8bde031Ad4729

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

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.