Contract 0x3f4D6bf08CB7A003488Ef082102C2e6418a4551e

 

Contract Overview

Balance:
0.01 BNB

BNB Value:
$3.56 (@ $355.71/BNB)

Token:
Txn Hash
Block
From
To
Value [Txn Fee]
0xc226187c7562e7dbb8e7fcad1a155fc77ab920386c97d3c7d099b7ad26c67b4283990232021-06-18 8:25:161 min ago0xf76b63f9f5017cd7e9376d8256b164f034c79eff IN  0x3f4d6bf08cb7a003488ef082102c2e6418a4551e0 BNB0.001724215
0x924b7bb2724e82e493f8e23e27336d1f2e402ebc6a672d5311e949dcc9f4fd7283989702021-06-18 8:22:374 mins ago0x8896ab228e9163a39308389dad5dd4a477ed77b0 IN  0x3f4d6bf08cb7a003488ef082102c2e6418a4551e0 BNB0.000297675
0x6fea244a6c447ea10a56d3906b8b9888ee3c0642d99e4a5a99bb83cd77698c8183989602021-06-18 8:22:074 mins ago0x5b245c708ce64b9b0ddd085dc770c059900a23af IN  0x3f4d6bf08cb7a003488ef082102c2e6418a4551e0 BNB0.001705795
0x4201a7742475386a5c0ee769f2b8b3bf55ae95ee3989ee7c5edbd80d21624d5883988962021-06-18 8:18:557 mins ago0xaef1d0e1e0576c1ef154ed66d92b76f30ed426ab IN  0x3f4d6bf08cb7a003488ef082102c2e6418a4551e0 BNB0.001705675
0x2cd076c67be7ced4b518778aa663c6fc34833bfe69cdbd60a9c11e3edfd1e8a683988922021-06-18 8:18:438 mins ago0x3f7a1b8bb04b80dc18a2cf0b00a5bab3baf9d481 IN  0x3f4d6bf08cb7a003488ef082102c2e6418a4551e0 BNB0.00024978
0xeae56e897ccfd667e40e0bac435d85288135f625b84e2b1032e555c0392c3faf83988422021-06-18 8:16:1310 mins ago0x5622e9c82cfb9a40107a1120757e66673f960526 IN  0x3f4d6bf08cb7a003488ef082102c2e6418a4551e0 BNB0.00024978
0xf95ac2ab812067b523c38449a8c677eb212d58fe9b53cebfaeba5750616806c483987092021-06-18 8:09:2817 mins ago0x2f3d6dcac0df84abe4fba40857b13f806213a49c IN  0x3f4d6bf08cb7a003488ef082102c2e6418a4551e0 BNB0.001630915
0x133619e05b44727a8a14064b3fbb3c07de9a6b2c8a0372d329dd68b1b8bce2a383986462021-06-18 8:05:5920 mins ago0xdcee7b67ac25f6069b255629fb5bb02d0155bf08 IN  0x3f4d6bf08cb7a003488ef082102c2e6418a4551e0 BNB0.001705855
0x12b4949de6bc3db7b113149c6f7cdf4d6c4200913d5074879341b4b82716433683984952021-06-18 7:58:2628 mins ago0x1dd0c8c4e331fba6e75b5c5b9c2c702275f19404 IN  0x3f4d6bf08cb7a003488ef082102c2e6418a4551e0 BNB0.001705735
0x472bfdb3139f0b9ef59574dc380ec4454bbc97f1697f29974262e049dd18de6483984682021-06-18 7:57:0529 mins ago0x3f83149ad8ce59e4a36d02963164655a164ab8f1 IN  0x3f4d6bf08cb7a003488ef082102c2e6418a4551e0 BNB0.001705795
0xe662a1d4a300a364ae0486039861b7cde26f0b3352518a5e52f173b60a8aeb4d83983002021-06-18 7:48:4138 mins ago0x2279397e035dd82a21bf4f709c455ed92e139684 IN  0x3f4d6bf08cb7a003488ef082102c2e6418a4551e0 BNB0.00024978
0xb684a5ee23ee8b3380bdeb3afa473ecad6b9ca7da0ec00de7fb89ea3c429487283982792021-06-18 7:47:3839 mins ago0xc547175edb682197d0faae5cb057f95513424e3b IN  0x3f4d6bf08cb7a003488ef082102c2e6418a4551e0 BNB0.001705795
0x15b92529e11934d5e9f651ef740954322f005dd1b76f45a40d102a36d4b2be8583982742021-06-18 7:47:2339 mins ago0x04576cc3fb9417ef597878372ed758acf3e14d44 IN  0x3f4d6bf08cb7a003488ef082102c2e6418a4551e0 BNB0.0001168
0x613c9c92ab59cf4d3474f2b22239947f3c7b2d7610ead77db17f1eff30ac24f283982372021-06-18 7:45:3141 mins ago0x8896ab228e9163a39308389dad5dd4a477ed77b0 IN  0x3f4d6bf08cb7a003488ef082102c2e6418a4551e0 BNB0.001630735
0x4f332ce4a3656a9edf7bdceb80552669fc11c90f316868fd57838be9bf27cc9a83982002021-06-18 7:43:2943 mins ago0x04576cc3fb9417ef597878372ed758acf3e14d44 IN  0x3f4d6bf08cb7a003488ef082102c2e6418a4551e0 BNB0.0001168
0x07a9391d1d78f884af7955eea5ef960752977e7c7ef7677c2c321cce8de613c983981912021-06-18 7:43:0143 mins ago0x04576cc3fb9417ef597878372ed758acf3e14d44 IN  0x3f4d6bf08cb7a003488ef082102c2e6418a4551e0 BNB0.0001168
0x7348d512f02eead87a5f993b62a5cdf96e6b979c9d328c96f0bed4d9b2b21a3583981762021-06-18 7:42:1444 mins ago0x04576cc3fb9417ef597878372ed758acf3e14d44 IN  0x3f4d6bf08cb7a003488ef082102c2e6418a4551e0 BNB0.00024978
0xb20990b5803e393a1e3ce31da7097ece629ae7d26328a59c9582402697176c0683981162021-06-18 7:39:0047 mins ago0x8747cc06de666854af97b8d46f5c9290ef87d194 IN  0x3f4d6bf08cb7a003488ef082102c2e6418a4551e0 BNB0.001705855
0xfed495787de63b78ba1ec7a1c07f80a23f5888eac125ba57f5e93688a9f87a8283980842021-06-18 7:37:2449 mins ago0xc547175edb682197d0faae5cb057f95513424e3b IN  0x3f4d6bf08cb7a003488ef082102c2e6418a4551e0 BNB0.00024978
0x46913bc1ac8ac720c27816db0b2aa7022b90813d0a0449ed1b8fe5dc9bd51c1a83978722021-06-18 7:26:481 hr ago0x549219c50899de8e7f1583346f80e481dac9cc44 IN  0x3f4d6bf08cb7a003488ef082102c2e6418a4551e0 BNB0.001705795
0x54d856409f774ebd0f2ece89f15713f7e32526de8789f581e465c9b5f9d3615183977502021-06-18 7:20:421 hr 6 mins ago0x55d08ac9eece111fb9275243fa3b81526dc27cbf IN  0x3f4d6bf08cb7a003488ef082102c2e6418a4551e0 BNB0.00039579
0x697c575a1a80f46b54271cfda20d26d864687e447503cc240660f278d90d328983977342021-06-18 7:19:541 hr 6 mins ago0x549219c50899de8e7f1583346f80e481dac9cc44 IN  0x3f4d6bf08cb7a003488ef082102c2e6418a4551e0 BNB0.00024978
0xbb91baea338c50795bafe1f9daa771368d80e706e1c686f28b0b8bb9db68076483975762021-06-18 7:12:001 hr 14 mins ago0x628b3b9a79e11e1e187539042ed7753932e8597b IN  0x3f4d6bf08cb7a003488ef082102c2e6418a4551e0 BNB0.00024978
0x9e369355944eb267fa33946c14de320a326418bf328dbd5b8dc5e7f11a121dde83975562021-06-18 7:11:001 hr 15 mins ago0xa90c6654889f2bba7125fc3623dbd2fb0799dfc4 IN  0x3f4d6bf08cb7a003488ef082102c2e6418a4551e0 BNB0.00039579
0xd1fdf1d18d8d73c55251392d1535d3b0a13f37e09f454af3f3af23114642163883974282021-06-18 7:04:361 hr 22 mins ago0xf0c5b9db340ef4f11dd72d7935b953260dbbc108 IN  0x3f4d6bf08cb7a003488ef082102c2e6418a4551e0 BNB0.00024978
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DeepLockLocker

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
Yes with 999999 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 6 : DeepLockLocker.sol
// SPDX-License-Identifier: UNLICENSED

pragma solidity >=0.7.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/ReentrancyGuard.sol";
import "./IBEP20.sol";

contract DeepLockLocker is Ownable, ReentrancyGuard {
    using SafeMath for uint256;

    struct Items {
        address tokenAddress;
        address withdrawalAddress;
        uint256 tokenAmount;
        uint256 unlockTime;
        bool withdrawn;
    }

    uint256 public bnbFee = 1 ether;
    // base 1000, 0.5% = value * 5 / 1000
    uint256 public lpFeePercent = 5;

    // for statistic
    uint256 public totalBnbFees = 0;
    // withdrawable values
    uint256 public remainingBnbFees = 0;
    address[] tokenAddressesWithFees;
    mapping(address => uint256) public tokensFees;

    uint256 public depositId;
    uint256[] public allDepositIds;

    mapping(uint256 => Items) public lockedToken;

    mapping(address => uint256[]) public depositsByWithdrawalAddress;
    mapping(address => uint256[]) public depositsByTokenAddress;

    // Token -> { sender1: locked amount, ... }
    mapping(address => mapping(address => uint256)) public walletTokenBalance;

    event TokensLocked(address indexed tokenAddress, address indexed sender, uint256 amount, uint256 unlockTime, uint256 depositId);
    event TokensWithdrawn(address indexed tokenAddress, address indexed receiver, uint256 amount);

    constructor() public {
    }

    function lockTokens(
        address _tokenAddress,
        uint256 _amount,
        uint256 _unlockTime,
        bool _feeInBnb
    ) external payable returns (uint256 _id) {
        require(_amount > 0, 'Tokens amount must be greater than 0');
        require(_unlockTime < 10000000000, 'Unix timestamp must be in seconds, not milliseconds');
        require(_unlockTime > block.timestamp, 'Unlock time must be in future');
        require(!_feeInBnb || msg.value > bnbFee, 'BNB fee not provided');

        require(IBEP20(_tokenAddress).approve(address(this), _amount), 'Failed to approve tokens');
        require(IBEP20(_tokenAddress).transferFrom(msg.sender, address(this), _amount), 'Failed to transfer tokens to locker');

        uint256 lockAmount = _amount;
        if (_feeInBnb) {
            totalBnbFees = totalBnbFees.add(msg.value);
            remainingBnbFees = remainingBnbFees.add(msg.value);
        } else {
            uint256 fee = lockAmount.mul(lpFeePercent).div(1000);
            lockAmount = lockAmount.sub(fee);

            if (tokensFees[_tokenAddress] == 0) {
                tokenAddressesWithFees.push(_tokenAddress);
            }
            tokensFees[_tokenAddress] = tokensFees[_tokenAddress].add(fee);
        }

        walletTokenBalance[_tokenAddress][msg.sender] = walletTokenBalance[_tokenAddress][msg.sender].add(_amount);

        address _withdrawalAddress = msg.sender;
        _id = ++depositId;
        lockedToken[_id].tokenAddress = _tokenAddress;
        lockedToken[_id].withdrawalAddress = _withdrawalAddress;
        lockedToken[_id].tokenAmount = lockAmount;
        lockedToken[_id].unlockTime = _unlockTime;
        lockedToken[_id].withdrawn = false;

        allDepositIds.push(_id);
        depositsByWithdrawalAddress[_withdrawalAddress].push(_id);
        depositsByTokenAddress[_tokenAddress].push(_id);

        emit TokensLocked(_tokenAddress, msg.sender, _amount, _unlockTime, depositId);
    }

    function withdrawTokens(uint256 _id) external {
        require(block.timestamp >= lockedToken[_id].unlockTime, 'Tokens are locked');
        require(!lockedToken[_id].withdrawn, 'Tokens already withdrawn');
        require(msg.sender == lockedToken[_id].withdrawalAddress, 'Can withdraw from the address used for locking');

        address tokenAddress = lockedToken[_id].tokenAddress;
        address withdrawalAddress = lockedToken[_id].withdrawalAddress;
        uint256 amount = lockedToken[_id].tokenAmount;

        require(IBEP20(tokenAddress).transfer(withdrawalAddress, amount), 'Failed to transfer tokens');

        lockedToken[_id].withdrawn = true;
        uint256 previousBalance = walletTokenBalance[tokenAddress][msg.sender];
        walletTokenBalance[tokenAddress][msg.sender] = previousBalance.sub(amount);

        // Remove depositId from withdrawal addresses mapping
        uint256 i;
        uint256 j;
        uint256 byWLength = depositsByWithdrawalAddress[withdrawalAddress].length;
        uint256[] memory newDepositsByWithdrawal = new uint256[](byWLength - 1);

        for (j = 0; j < byWLength; j++) {
            if (depositsByWithdrawalAddress[withdrawalAddress][j] == _id) {
                for (i = j; i < byWLength - 1; i++) {
                    newDepositsByWithdrawal[i] = depositsByWithdrawalAddress[withdrawalAddress][i + 1];
                }
                break;
            } else {
                newDepositsByWithdrawal[j] = depositsByWithdrawalAddress[withdrawalAddress][j];
            }
        }
        depositsByWithdrawalAddress[withdrawalAddress] = newDepositsByWithdrawal;

        // Remove depositId from tokens mapping
        uint256 byTLength = depositsByTokenAddress[tokenAddress].length;
        uint256[] memory newDepositsByToken = new uint256[](byTLength - 1);
        for (j = 0; j < byTLength; j++) {
            if (depositsByTokenAddress[tokenAddress][j] == _id) {
                for (i = j; i < byTLength - 1; i++) {
                    newDepositsByToken[i] = depositsByTokenAddress[tokenAddress][i + 1];
                }
                break;
            } else {
                newDepositsByToken[j] = depositsByTokenAddress[tokenAddress][j];
            }
        }
        depositsByTokenAddress[tokenAddress] = newDepositsByToken;

        emit TokensWithdrawn(tokenAddress, withdrawalAddress, amount);
    }

    function getTotalTokenBalance(address _tokenAddress) view public returns (uint256)
    {
        return IBEP20(_tokenAddress).balanceOf(address(this));
    }

    function getTokenBalanceByAddress(address _tokenAddress, address _walletAddress) view public returns (uint256)
    {
        return walletTokenBalance[_tokenAddress][_walletAddress];
    }

    function getAllDepositIds() view public returns (uint256[] memory)
    {
        return allDepositIds;
    }

    function getDepositDetails(uint256 _id) view public returns (address, address, uint256, uint256, bool)
    {
        return (lockedToken[_id].tokenAddress, lockedToken[_id].withdrawalAddress, lockedToken[_id].tokenAmount,
        lockedToken[_id].unlockTime, lockedToken[_id].withdrawn);
    }

    function getDepositsByWithdrawalAddress(address _withdrawalAddress) view public returns (uint256[] memory)
    {
        return depositsByWithdrawalAddress[_withdrawalAddress];
    }

    function getDepositsByTokenAddress(address _tokenAddress) view public returns (uint256[] memory)
    {
        return depositsByTokenAddress[_tokenAddress];
    }

    function setBnbFee(uint256 fee) external onlyOwner {
        require(fee > 0, 'Fee is too small');
        bnbFee = fee;
    }

    function setLpFee(uint256 percent) external onlyOwner {
        require(percent > 0, 'Percent is too small');
        lpFeePercent = percent;
    }

    function withdrawFees(address payable withdrawalAddress) external onlyOwner {
        if (remainingBnbFees > 0) {
            withdrawalAddress.transfer(remainingBnbFees);
            remainingBnbFees = 0;
        }

        for (uint i = 1; i <= tokenAddressesWithFees.length; i++) {
            address tokenAddress = tokenAddressesWithFees[tokenAddressesWithFees.length - i];
            uint256 amount = tokensFees[tokenAddress];
            if (amount > 0) {
                IBEP20(tokenAddress).transfer(withdrawalAddress, amount);
            }
            delete tokensFees[tokenAddress];
            tokenAddressesWithFees.pop();
        }

        tokenAddressesWithFees = new address[](0);
    }
}

File 2 of 6 : IBEP20.sol
pragma solidity >=0.7.0;

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

    /**
     * @dev Returns the token decimals.
     */
    function decimals() external view returns (uint8);

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

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

    /**
     * @dev Returns the bep token owner.
     */
    function getOwner() external view returns (address);

    /**
     * @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 6 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <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 GSN 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 payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 4 of 6 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

import "../GSN/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 () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view 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 5 of 6 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

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

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

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

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

        return c;
    }

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

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

File 6 of 6 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

    uint256 private _status;

    constructor () internal {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

        _;

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

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

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"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":"tokenAddress","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"unlockTime","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"depositId","type":"uint256"}],"name":"TokensLocked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"tokenAddress","type":"address"},{"indexed":true,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TokensWithdrawn","type":"event"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"allDepositIds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bnbFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"depositId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"depositsByTokenAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"depositsByWithdrawalAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getAllDepositIds","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"getDepositDetails","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"}],"name":"getDepositsByTokenAddress","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_withdrawalAddress","type":"address"}],"name":"getDepositsByWithdrawalAddress","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"},{"internalType":"address","name":"_walletAddress","type":"address"}],"name":"getTokenBalanceByAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"}],"name":"getTotalTokenBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_unlockTime","type":"uint256"},{"internalType":"bool","name":"_feeInBnb","type":"bool"}],"name":"lockTokens","outputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"lockedToken","outputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"address","name":"withdrawalAddress","type":"address"},{"internalType":"uint256","name":"tokenAmount","type":"uint256"},{"internalType":"uint256","name":"unlockTime","type":"uint256"},{"internalType":"bool","name":"withdrawn","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpFeePercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"remainingBnbFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"fee","type":"uint256"}],"name":"setBnbFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"percent","type":"uint256"}],"name":"setLpFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"tokensFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalBnbFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"walletTokenBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"withdrawalAddress","type":"address"}],"name":"withdrawFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052670de0b6b3a764000060025560056003556000600455600060055534801561002b57600080fd5b506000610036610089565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506001805561008d565b3390565b61246d8061009c6000396000f3fe6080604052600436106101965760003560e01c8063890db72f116100e1578063b9e7df1c1161008a578063d4dbe3ef11610064578063d4dbe3ef14610644578063e6a478b314610659578063efc17415146106a0578063f2fde38b146106b557610196565b8063b9e7df1c146105a8578063bb941cff146105f0578063c9028aff1461061a57610196565b80639852099c116100bb5780639852099c1461053e578063adad19bd14610553578063ae3ff3dd1461059357610196565b8063890db72f146104665780638a47446c146104d65780638da5cb5b1461050057610196565b80633fd97b9b11610143578063715018a61161011d578063715018a6146103e757806384dfbfe2146103fc57806386f65a221461042657610196565b80633fd97b9b14610346578063530680d81461038c5780636ba03924146103d257610196565b8063213596b811610174578063213596b8146102bf578063315a095d146102d4578063347c80ba146102fe57610196565b80630bd59ad31461019b5780630cff87f11461022b578063164e68de1461027d575b600080fd5b3480156101a757600080fd5b506101db600480360360208110156101be57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166106f5565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156102175781810151838201526020016101ff565b505050509050019250505060405180910390f35b34801561023757600080fd5b5061026b6004803603602081101561024e57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661076e565b60408051918252519081900360200190f35b34801561028957600080fd5b506102bd600480360360208110156102a057600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610780565b005b3480156102cb57600080fd5b5061026b610a12565b3480156102e057600080fd5b506102bd600480360360208110156102f757600080fd5b5035610a18565b34801561030a57600080fd5b5061026b6004803603604081101561032157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602001351661119e565b34801561035257600080fd5b5061026b6004803603604081101561036957600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356111d8565b34801561039857600080fd5b5061026b600480360360408110156103af57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135611209565b3480156103de57600080fd5b506101db611225565b3480156103f357600080fd5b506102bd61127d565b34801561040857600080fd5b506102bd6004803603602081101561041f57600080fd5b503561137d565b34801561043257600080fd5b506101db6004803603602081101561044957600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611482565b34801561047257600080fd5b506104906004803603602081101561048957600080fd5b50356114f9565b6040805173ffffffffffffffffffffffffffffffffffffffff96871681529490951660208501528385019290925260608301521515608082015290519081900360a00190f35b3480156104e257600080fd5b506102bd600480360360208110156104f957600080fd5b5035611546565b34801561050c57600080fd5b5061051561164b565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561054a57600080fd5b5061026b611667565b34801561055f57600080fd5b5061026b6004803603602081101561057657600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661166d565b34801561059f57600080fd5b5061026b611708565b3480156105b457600080fd5b5061026b600480360360408110156105cb57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602001351661170e565b3480156105fc57600080fd5b506104906004803603602081101561061357600080fd5b503561172b565b34801561062657600080fd5b5061026b6004803603602081101561063d57600080fd5b5035611776565b34801561065057600080fd5b5061026b611797565b61026b6004803603608081101561066f57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060208101359060408101359060600135151561179d565b3480156106ac57600080fd5b5061026b611e38565b3480156106c157600080fd5b506102bd600480360360208110156106d857600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611e3e565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600b602090815260409182902080548351818402810184019094528084526060939283018282801561076257602002820191906000526020600020905b81548152602001906001019080831161074e575b50505050509050919050565b60076020526000908152604090205481565b610788611fc8565b60005473ffffffffffffffffffffffffffffffffffffffff90811691161461081157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600554156108645760055460405173ffffffffffffffffffffffffffffffffffffffff83169180156108fc02916000818181858888f1935050505015801561085d573d6000803e3d6000fd5b5060006005555b60015b60065481116109f057600680546000919083810390811061088457fe5b600091825260208083209091015473ffffffffffffffffffffffffffffffffffffffff168083526007909152604090912054909150801561095d578173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561093057600080fd5b505af1158015610944573d6000803e3d6000fd5b505050506040513d602081101561095a57600080fd5b50505b73ffffffffffffffffffffffffffffffffffffffff8216600090815260076020526040812055600680548061098e57fe5b60008281526020902081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90810180547fffffffffffffffffffffffff00000000000000000000000000000000000000001690550190555050600101610867565b506040805160008152602081019182905251610a0e9160069161226e565b5050565b60055481565b6000818152600a6020526040902060030154421015610a9857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f546f6b656e7320617265206c6f636b6564000000000000000000000000000000604482015290519081900360640190fd5b6000818152600a602052604090206004015460ff1615610b1957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f546f6b656e7320616c72656164792077697468647261776e0000000000000000604482015290519081900360640190fd5b6000818152600a602052604090206001015473ffffffffffffffffffffffffffffffffffffffff163314610b98576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e8152602001806123b4602e913960400191505060405180910390fd5b6000818152600a602090815260408083208054600182015460029092015483517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff93841660048201819052602482018390529451939092169593949093869363a9059cbb9360448082019493918390030190829087803b158015610c3257600080fd5b505af1158015610c46573d6000803e3d6000fd5b505050506040513d6020811015610c5c57600080fd5b5051610cc957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4661696c656420746f207472616e7366657220746f6b656e7300000000000000604482015290519081900360640190fd5b6000848152600a6020908152604080832060040180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905573ffffffffffffffffffffffffffffffffffffffff86168352600d8252808320338452909152902054610d398183611fcc565b73ffffffffffffffffffffffffffffffffffffffff8086166000908152600d602090815260408083203384528252808320949094559186168152600b909152908120548190817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820167ffffffffffffffff81118015610db857600080fd5b50604051908082528060200260200182016040528015610de2578160200160208202803683370190505b509050600092505b81831015610f0b5773ffffffffffffffffffffffffffffffffffffffff87166000908152600b6020526040902080548a919085908110610e2657fe5b90600052602060002001541415610eac578293505b60018203841015610ea75773ffffffffffffffffffffffffffffffffffffffff87166000908152600b60205260409020805460018601908110610e7a57fe5b9060005260206000200154818581518110610e9157fe5b6020908102919091010152600190930192610e3b565b610f0b565b73ffffffffffffffffffffffffffffffffffffffff87166000908152600b60205260409020805484908110610edd57fe5b9060005260206000200154818481518110610ef457fe5b602002602001018181525050600190920191610dea565b73ffffffffffffffffffffffffffffffffffffffff87166000908152600b602090815260409091208251610f41928401906122f8565b5073ffffffffffffffffffffffffffffffffffffffff88166000908152600c6020526040812054907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820167ffffffffffffffff81118015610fa257600080fd5b50604051908082528060200260200182016040528015610fcc578160200160208202803683370190505b509050600094505b818510156110f55773ffffffffffffffffffffffffffffffffffffffff8a166000908152600c6020526040902080548c91908790811061101057fe5b90600052602060002001541415611096578495505b600182038610156110915773ffffffffffffffffffffffffffffffffffffffff8a166000908152600c6020526040902080546001880190811061106457fe5b906000526020600020015481878151811061107b57fe5b6020908102919091010152600190950194611025565b6110f5565b73ffffffffffffffffffffffffffffffffffffffff8a166000908152600c602052604090208054869081106110c757fe5b90600052602060002001548186815181106110de57fe5b602002602001018181525050600190940193610fd4565b73ffffffffffffffffffffffffffffffffffffffff8a166000908152600c60209081526040909120825161112b928401906122f8565b508873ffffffffffffffffffffffffffffffffffffffff168a73ffffffffffffffffffffffffffffffffffffffff167f6337ed398c0e8467698c581374fdce4db14922df487b5a39483079f5f59b60a48a6040518082815260200191505060405180910390a35050505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff8083166000908152600d60209081526040808320938516835292905220545b92915050565b600c60205281600052604060002081815481106111f457600080fd5b90600052602060002001600091509150505481565b600b60205281600052604060002081815481106111f457600080fd5b6060600980548060200260200160405190810160405280929190818152602001828054801561127357602002820191906000526020600020905b81548152602001906001019080831161125f575b5050505050905090565b611285611fc8565b60005473ffffffffffffffffffffffffffffffffffffffff90811691161461130e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b611385611fc8565b60005473ffffffffffffffffffffffffffffffffffffffff90811691161461140e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000811161147d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f50657263656e7420697320746f6f20736d616c6c000000000000000000000000604482015290519081900360640190fd5b600355565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600c6020908152604091829020805483518184028101840190945280845260609392830182828015610762576020028201919060005260206000209081548152602001906001019080831161074e5750505050509050919050565b6000908152600a60205260409020805460018201546002830154600384015460049094015473ffffffffffffffffffffffffffffffffffffffff9384169593909216939092909160ff1690565b61154e611fc8565b60005473ffffffffffffffffffffffffffffffffffffffff9081169116146115d757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000811161164657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f46656520697320746f6f20736d616c6c00000000000000000000000000000000604482015290519081900360640190fd5b600255565b60005473ffffffffffffffffffffffffffffffffffffffff1690565b60085481565b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156116d657600080fd5b505afa1580156116ea573d6000803e3d6000fd5b505050506040513d602081101561170057600080fd5b505192915050565b60045481565b600d60209081526000928352604080842090915290825290205481565b600a602052600090815260409020805460018201546002830154600384015460049094015473ffffffffffffffffffffffffffffffffffffffff938416949390921692909160ff1685565b6009818154811061178657600080fd5b600091825260209091200154905081565b60035481565b60008084116117f7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602481526020018061236f6024913960400191505060405180910390fd5b6402540be4008310611854576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260338152602001806123e26033913960400191505060405180910390fd5b4283116118c257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f556e6c6f636b2074696d65206d75737420626520696e20667574757265000000604482015290519081900360640190fd5b8115806118d0575060025434115b61193b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f424e4220666565206e6f742070726f7669646564000000000000000000000000604482015290519081900360640190fd5b604080517f095ea7b300000000000000000000000000000000000000000000000000000000815230600482015260248101869052905173ffffffffffffffffffffffffffffffffffffffff87169163095ea7b39160448083019260209291908290030181600087803b1580156119b057600080fd5b505af11580156119c4573d6000803e3d6000fd5b505050506040513d60208110156119da57600080fd5b5051611a4757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4661696c656420746f20617070726f766520746f6b656e730000000000000000604482015290519081900360640190fd5b604080517f23b872dd00000000000000000000000000000000000000000000000000000000815233600482015230602482015260448101869052905173ffffffffffffffffffffffffffffffffffffffff8716916323b872dd9160648083019260209291908290030181600087803b158015611ac257600080fd5b505af1158015611ad6573d6000803e3d6000fd5b505050506040513d6020811015611aec57600080fd5b5051611b43576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806124156023913960400191505060405180910390fd5b838215611b6f57600454611b579034612015565b600455600554611b679034612015565b600555611c94565b6000611b926103e8611b8c6003548561208990919063ffffffff16565b906120fc565b9050611b9e8282611fcc565b73ffffffffffffffffffffffffffffffffffffffff8816600090815260076020526040902054909250611c3c57600680546001810182556000919091527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff89161790555b73ffffffffffffffffffffffffffffffffffffffff8716600090815260076020526040902054611c6c9082612015565b73ffffffffffffffffffffffffffffffffffffffff8816600090815260076020526040902055505b73ffffffffffffffffffffffffffffffffffffffff86166000908152600d60209081526040808320338452909152902054611ccf9086612015565b73ffffffffffffffffffffffffffffffffffffffff87166000818152600d602090815260408083203380855290835281842095909555600880546001908101808355808652600a855283862080547fffffffffffffffffffffffff00000000000000000000000000000000000000009081168917825581840180549091168a179055600281018a9055600381018d905560040180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055600980548084019091557f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af01819055878652600b85528386208054808401825590875285872001819055868652600c855283862080549283018155865294849020018490555481518b81529283018a905282820152519195508392917fa6782d3322abbfbe850e6d5c5c78e8e1df603ea07608bb9a62dd83f40d4feccc9181900360600190a35050949350505050565b60025481565b611e46611fc8565b60005473ffffffffffffffffffffffffffffffffffffffff908116911614611ecf57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8116611f3b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806123496026913960400191505060405180910390fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b3390565b600061200e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061213e565b9392505050565b60008282018381101561200e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600082612098575060006111d2565b828202828482816120a557fe5b041461200e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806123936021913960400191505060405180910390fd5b600061200e83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506121ef565b600081848411156121e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156121ac578181015183820152602001612194565b50505050905090810190601f1680156121d95780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008183612258576040517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482018181528351602484015283519092839260449091019190850190808383600083156121ac578181015183820152602001612194565b50600083858161226457fe5b0495945050505050565b8280548282559060005260206000209081019282156122e8579160200282015b828111156122e857825182547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff90911617825560209092019160019091019061228e565b506122f4929150612333565b5090565b8280548282559060005260206000209081019282156122e8579160200282015b828111156122e8578251825591602001919060010190612318565b5b808211156122f4576000815560010161233456fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373546f6b656e7320616d6f756e74206d7573742062652067726561746572207468616e2030536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7743616e2077697468647261772066726f6d207468652061646472657373207573656420666f72206c6f636b696e67556e69782074696d657374616d70206d75737420626520696e207365636f6e64732c206e6f74206d696c6c697365636f6e64734661696c656420746f207472616e7366657220746f6b656e7320746f206c6f636b6572a26469706673582212205547f5e160eb14e9943f1466f719cc4efa9369ab85d20208527b54c35a2d125764736f6c63430007060033

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.