Contract 0x27f33de201679a05a1a3ff7cb40a33b4aa28758e

 
 
Txn Hash
Block
From
To
Value [Txn Fee]
0xe2794aa3136b3f19c0f0dc58bf21ed393f570b0ded92ae023733a5c0b97f85fc95434622021-07-28 8:34:591 day 1 hr ago0x9963c5d9b0a02d6316e546677c73932b0a60df1f IN  0x27f33de201679a05a1a3ff7cb40a33b4aa28758e0 BNB0.000396485
0xf4572320f424c3ef2e2d267d6d9d3f9d6704b9795959c5e1a37668c68db9037895041912021-07-26 21:29:282 days 12 hrs ago0x12e46d73b1ffd1107c6417cb77aeb832053bc4ed IN  0x27f33de201679a05a1a3ff7cb40a33b4aa28758e0 BNB0.00035808
0xb4db90e4770c5a7df831a8b4313042aacbfb1757c587c237e305b38b00c4ff0094903962021-07-26 9:33:213 days 35 mins ago0x9963c5d9b0a02d6316e546677c73932b0a60df1f IN  0x27f33de201679a05a1a3ff7cb40a33b4aa28758e0 BNB0.000396485
0xf8e977262ea43cafcafb424a2b5da413675a04d77b267cae8ef01401d27cfd4494892872021-07-26 8:36:503 days 1 hr ago0x470745873b69874c0dc9b8b7d069f2cbac206d88 IN  0x27f33de201679a05a1a3ff7cb40a33b4aa28758e0 BNB0.00035808
0x2ee67381df55f346205aa5eae45e5aa85b0ad321d63235943c69e09e7c61b83494892772021-07-26 8:36:203 days 1 hr ago0x470745873b69874c0dc9b8b7d069f2cbac206d88 IN  0x27f33de201679a05a1a3ff7cb40a33b4aa28758e0 BNB0.00030492
0x1f8e603c6f1a0e9f411ea8ef5cc9320a76fcf84268b073ce128b5da83bfc4b2794891892021-07-26 8:31:563 days 1 hr ago0x470745873b69874c0dc9b8b7d069f2cbac206d88 IN  0x27f33de201679a05a1a3ff7cb40a33b4aa28758e0 BNB0.000396485
0x8d33e02107ffbbede890a3e32a50f17d042f2925af7baa433c83efccc792809794887912021-07-26 8:11:173 days 1 hr ago0x470745873b69874c0dc9b8b7d069f2cbac206d88 IN  0x27f33de201679a05a1a3ff7cb40a33b4aa28758e0 BNB0.000396485
0x738684c37608cfb43153d23009437515809095da45f3b1ce55490095de368d3894858462021-07-26 5:39:513 days 4 hrs ago0x470745873b69874c0dc9b8b7d069f2cbac206d88 IN  0x27f33de201679a05a1a3ff7cb40a33b4aa28758e0 BNB0.000566615
0x7c11190d991d3f8f651884827dcfd5fb7514b9b615213f962a59bff07aad22c194849822021-07-26 4:56:383 days 5 hrs ago0x470745873b69874c0dc9b8b7d069f2cbac206d88 IN  0x27f33de201679a05a1a3ff7cb40a33b4aa28758e0 BNB0.000601105
0x7cb1484b7efa0f9358d136ef8bca39dc63bdcf70b98c1a8a533d30c0651bec8f94758102021-07-25 21:15:513 days 12 hrs ago0x6741de388bbd97bae5de059253d0773773152c96 IN  0x27f33de201679a05a1a3ff7cb40a33b4aa28758e0 BNB0.000566555
0x077d541bce429db5b04f0c20e51c8af317d85ed904087e7a9558e6757ae065e794717462021-07-25 17:52:383 days 16 hrs ago0xbb858e19ceef72e1bdb2e78cec00d7e7d1b857dc IN  0x27f33de201679a05a1a3ff7cb40a33b4aa28758e0 BNB0.000396485
0x40e6d5c15074f0cc1beb5a9b98ba393973d265e2fdd995decd9d12ae2505cb6894715622021-07-25 17:43:253 days 16 hrs ago0xbb858e19ceef72e1bdb2e78cec00d7e7d1b857dc IN  0x27f33de201679a05a1a3ff7cb40a33b4aa28758e0 BNB0.000396485
0x90ae39e579d21a456c6267a5bc7d3114396c0c492dfdfac1bcfc7c2b8873a8df94715042021-07-25 17:40:313 days 16 hrs ago0x6741de388bbd97bae5de059253d0773773152c96 IN  0x27f33de201679a05a1a3ff7cb40a33b4aa28758e0 BNB0.000601165
0x07d4cb0bb7855fb3eb098b0360eb090ab4f115dd8945ce2e9061b2b76fcfe6d394415852021-07-24 16:27:274 days 17 hrs ago0x92cdfc5a11e7d9338eddefd082f6c7fdc099a4b6 IN  0x27f33de201679a05a1a3ff7cb40a33b4aa28758e0 BNB0.000396485
0x834e008e10aef15a6cc0975b5a9c8d95d529acc37a16af300aec7720915f961d94156712021-07-23 18:42:115 days 15 hrs ago0x363085d9ebc20715fc61c3337f293b7940529e1f IN  0x27f33de201679a05a1a3ff7cb40a33b4aa28758e0 BNB0.000396485
0xd097f523b276fca8a8f9b032359127cf3ff4c23552c52b4aa4529c3c0a9d758a94109102021-07-23 14:40:095 days 19 hrs ago0x9963c5d9b0a02d6316e546677c73932b0a60df1f IN  0x27f33de201679a05a1a3ff7cb40a33b4aa28758e0 BNB0.000396485
0xefc86b8c3ec35a4579fd2881570ea34d47e9fad37a8c340e65258050f2f57beb93637872021-07-21 23:20:197 days 10 hrs ago0x12e46d73b1ffd1107c6417cb77aeb832053bc4ed IN  0x27f33de201679a05a1a3ff7cb40a33b4aa28758e0 BNB0.00035808
0x01aa541620753999c6232878d04cabdf4e0c95c014f53f2df181f6e6033c8e3893578222021-07-21 18:22:047 days 15 hrs ago0x765d9c485bebb431872ea51d000a20623c1e5b94 IN  0x27f33de201679a05a1a3ff7cb40a33b4aa28758e0 BNB0.000396485
0xf8314dc6706328948bcc6a1e1bb48d47d642e921de634cf66f2e25b92aa88a7b93570322021-07-21 17:42:147 days 16 hrs ago0xbb858e19ceef72e1bdb2e78cec00d7e7d1b857dc IN  0x27f33de201679a05a1a3ff7cb40a33b4aa28758e0 BNB0.000396485
0xe9a22a027749e88186e63a0e79a51aa7cd55208a5053598c3267f266c7f54bb293569392021-07-21 17:37:357 days 16 hrs ago0x4088e870e785320413288c605fd1bd6bd9d5bdae IN  0x27f33de201679a05a1a3ff7cb40a33b4aa28758e0 BNB0.00035808
0x130abb4d7b0763ae0e905880857eb92be1020bce19f5a7ff5f33ac351f321ee193532782021-07-21 14:34:227 days 19 hrs ago0xd0b70542f2399b10e3e3cbe2ad1b4ec4c2ffefb2 IN  0x27f33de201679a05a1a3ff7cb40a33b4aa28758e0 BNB0.00035808
0xaa1e70ea96f9929e524c500573b77b79d57095b531b2fcf5d9165de6fafa538192900392021-07-19 9:50:0910 days 18 mins ago0x9963c5d9b0a02d6316e546677c73932b0a60df1f IN  0x27f33de201679a05a1a3ff7cb40a33b4aa28758e0 BNB0.000396485
0xc89aba3446377cf8cfb4c1489977ca18bac80e09671e2cb641a49c646cca9b1492900092021-07-19 9:48:3910 days 19 mins ago0x9963c5d9b0a02d6316e546677c73932b0a60df1f IN  0x27f33de201679a05a1a3ff7cb40a33b4aa28758e0 BNB0.000396485
0xc9392cbb4d573d773b79507cd4908f910245bc7cd4610a31f152efffc5930c4191964692021-07-16 3:48:5613 days 6 hrs ago0xe48fc63f31225febc1470f1049d22020e3c85beb IN  0x27f33de201679a05a1a3ff7cb40a33b4aa28758e0 BNB0.00035808
0x301ed3451f93970d00dc2b06e84a357d72e120725162c7977d74ee8106eb69d491964602021-07-16 3:48:2913 days 6 hrs ago0xe48fc63f31225febc1470f1049d22020e3c85beb IN  0x27f33de201679a05a1a3ff7cb40a33b4aa28758e0 BNB0.00030492
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

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

Contract Name:
DeepLockLPMining

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 7 : DeepLockLPMining.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.7.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";

contract DeepLockLPMining is Ownable {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

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

    struct PoolInfo {
        IERC20 lpToken;
        uint256 lastRewardBlock;
        uint256 accDeepPerShare;
        uint256 accDeepPerSharePresale;
    }

    IERC20 public deepLock;
    uint256 public deepPerBlock = uint256(1 ether).div(10); // 0.1 DEEP
    uint256 public deepPerBlockPresale = uint256(3 ether).div(10); // 0.3 DEEP

    // base 1000, value * 5 / 100
    uint256 public feePercent = 25;
    uint256 public collectedFees;

    PoolInfo public liquidityMining;
    mapping(address => UserInfo) public userInfo;

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

    function setPoolInfo(IERC20 _deepLock, IERC20 _lpToken) external onlyOwner {
        require(address(deepLock) == address(0) && address(liquidityMining.lpToken) == address(0), 'Tokens already set');
        deepLock = _deepLock;
        liquidityMining = PoolInfo({lpToken : _lpToken, lastRewardBlock : 0, accDeepPerShare : 0, accDeepPerSharePresale : 0});
    }

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

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

        UserInfo storage user = userInfo[_user];
        uint256 accDeepPerShare = user.wasInPresale
        ? liquidityMining.accDeepPerSharePresale
        : liquidityMining.accDeepPerShare;
        uint256 lpSupply = liquidityMining.lpToken.balanceOf(address(this));

        if (block.number > liquidityMining.lastRewardBlock && lpSupply != 0) {
            uint256 perBlock = user.wasInPresale ? deepPerBlockPresale : deepPerBlock;
            uint256 multiplier = block.number.sub(liquidityMining.lastRewardBlock);
            uint256 deepReward = multiplier.mul(perBlock);
            accDeepPerShare = accDeepPerShare.add(deepReward.mul(1e12).div(lpSupply));
        }

        return user.amount.mul(accDeepPerShare).div(1e12).sub(user.rewardDebt).add(user.pendingRewards);
    }

    function updatePool() internal {
        require(liquidityMining.lastRewardBlock > 0 && block.number >= liquidityMining.lastRewardBlock, 'Mining not yet started');
        if (block.number <= liquidityMining.lastRewardBlock) {
            return;
        }
        uint256 lpSupply = liquidityMining.lpToken.balanceOf(address(this));
        if (lpSupply == 0) {
            liquidityMining.lastRewardBlock = block.number;
            return;
        }
        uint256 multiplier = block.number.sub(liquidityMining.lastRewardBlock);
        uint256 deepReward = multiplier.mul(deepPerBlock);
        uint256 deepRewardPresale = multiplier.mul(deepPerBlockPresale);
        liquidityMining.accDeepPerShare = liquidityMining.accDeepPerShare.add(deepReward.mul(1e12).div(lpSupply));
        liquidityMining.accDeepPerSharePresale = liquidityMining.accDeepPerSharePresale.add(deepRewardPresale.mul(1e12).div(lpSupply));
        liquidityMining.lastRewardBlock = block.number;
    }

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

        uint256 accDeepPerShare = user.wasInPresale
        ? liquidityMining.accDeepPerSharePresale
        : liquidityMining.accDeepPerShare;

        if (user.amount > 0) {
            uint256 pending = user.amount.mul(accDeepPerShare).div(1e12).sub(user.rewardDebt);
            if (pending > 0) {
                user.pendingRewards = user.pendingRewards.add(pending);
            }
        }
        if (amount > 0) {
            liquidityMining.lpToken.safeTransferFrom(address(msg.sender), address(this), amount);

            if (feePercent > 0) {
                uint256 fee = amount.mul(feePercent).div(1000);
                amount = amount.sub(fee);
                collectedFees = collectedFees.add(fee);
            }

            user.amount = user.amount.add(amount);
        }
        user.rewardDebt = user.amount.mul(accDeepPerShare).div(1e12);
        emit Deposit(msg.sender, amount);
    }

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

        uint256 accDeepPerShare = user.wasInPresale
        ? liquidityMining.accDeepPerSharePresale
        : liquidityMining.accDeepPerShare;

        uint256 pending = user.amount.mul(accDeepPerShare).div(1e12).sub(user.rewardDebt);
        if (pending > 0) {
            user.pendingRewards = user.pendingRewards.add(pending);
        }
        if (amount > 0) {
            user.amount = user.amount.sub(amount);

            if (feePercent > 0) {
                uint256 fee = amount.mul(feePercent).div(1000);
                amount = amount.sub(fee);
                collectedFees = collectedFees.add(fee);
            }

            liquidityMining.lpToken.safeTransfer(address(msg.sender), amount);
        }
        user.rewardDebt = user.amount.mul(accDeepPerShare).div(1e12);
        emit Withdraw(msg.sender, amount);
    }

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

        uint256 accDeepPerShare = user.wasInPresale
        ? liquidityMining.accDeepPerSharePresale
        : liquidityMining.accDeepPerShare;

        uint256 pending = user.amount.mul(accDeepPerShare).div(1e12).sub(user.rewardDebt);
        if (pending > 0 || user.pendingRewards > 0) {
            user.pendingRewards = user.pendingRewards.add(pending);
            uint256 claimedAmount = safeDeepTransfer(msg.sender, user.pendingRewards);
            emit Claim(msg.sender, claimedAmount);
            user.pendingRewards = user.pendingRewards.sub(claimedAmount);
        }
        user.rewardDebt = user.amount.mul(accDeepPerShare).div(1e12);
    }

    function safeDeepTransfer(address to, uint256 amount) internal returns (uint256) {
        uint256 deepBalance = deepLock.balanceOf(address(this));
        if (amount > deepBalance) {
            deepLock.transfer(to, deepBalance);
            return deepBalance;
        } else {
            deepLock.transfer(to, amount);
            return amount;
        }
    }

    function setDeepPerBlock(uint256 _deepPerBlock) external onlyOwner {
        require(_deepPerBlock > 0, "DEEP per block should be greater than 0!");
        deepPerBlock = _deepPerBlock;
    }

    function setDeepPerBlockPresale(uint256 _deepPerBlock) external onlyOwner {
        require(_deepPerBlock > 0, "DEEP per block should be greater than 0!");
        deepPerBlockPresale = _deepPerBlock;
    }

    function setPresaleAddresses(address[] calldata addresses) external onlyOwner {
        for (uint i = 0; i < addresses.length; i++) {
            userInfo[addresses[i]].wasInPresale = true;
        }
    }

    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.lpToken.safeTransfer(withdrawalAddress, collectedFees);
        collectedFees = 0;
    }
}

File 2 of 7 : 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 3 of 7 : 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 4 of 7 : 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 5 of 7 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <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 6 of 7 : SafeERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

import "./IERC20.sol";
import "../../math/SafeMath.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 SafeMath for uint256;
    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).add(value);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
        _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 7 of 7 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.2 <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);
    }

    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);
            }
        }
    }
}

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

Contract ABI

[{"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":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":[],"name":"deepLock","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deepPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deepPerBlockPresale","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":[],"name":"liquidityMining","outputs":[{"internalType":"contract IERC20","name":"lpToken","type":"address"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"accDeepPerShare","type":"uint256"},{"internalType":"uint256","name":"accDeepPerSharePresale","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":[{"internalType":"uint256","name":"_deepPerBlock","type":"uint256"}],"name":"setDeepPerBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_deepPerBlock","type":"uint256"}],"name":"setDeepPerBlockPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"fee","type":"uint256"}],"name":"setFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_deepLock","type":"address"},{"internalType":"contract IERC20","name":"_lpToken","type":"address"}],"name":"setPoolInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"setPresaleAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"startBlock","type":"uint256"}],"name":"startMining","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","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"},{"internalType":"bool","name":"wasInPresale","type":"bool"}],"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"}]

608060405262000027600a670de0b6b3a7640000620000bf60201b620015311790919060201c565b6002556200004d600a6729a2241af62c0000620000bf60201b620015311790919060201c565b60035560196004553480156200006257600080fd5b5060006200006f62000110565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350620001bb565b60006200010983836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506200011460201b60201c565b9392505050565b3390565b60008183620001a45760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015620001685781810151838201526020016200014e565b50505050905090810190601f168015620001965780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581620001b157fe5b0495945050505050565b61210480620001cb6000396000f3fe608060405234801561001057600080fd5b50600436106101775760003560e01c8063715018a6116100d85780639003adfe1161008c578063eae8a7af11610066578063eae8a7af14610448578063f2fde38b14610450578063f3a9bf1d1461048357610177565b80639003adfe1461041b578063b38fb46414610423578063b6b55f251461042b57610177565b80637fd6f15c116100bd5780637fd6f15c1461039d57806385b2d535146103a55780638da5cb5b146103ea57610177565b8063715018a61461035a578063789513ec1461036257610177565b80633ff35a4f1161012f5780634e71d92d116101145780634e71d92d1461031857806369fe0e2d146103205780636b44acc51461033d57610177565b80633ff35a4f1461028b57806347b272c0146102fb57610177565b80632e1a7d4d116101605780632e1a7d4d1461020c57806331d7a262146102295780633fe6b0d01461026e57610177565b8063164e68de1461017c5780631959a002146101b1575b600080fd5b6101af6004803603602081101561019257600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661048b565b005b6101e4600480360360208110156101c757600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661054e565b6040805194855260208501939093528383019190915215156060830152519081900360800190f35b6101af6004803603602081101561022257600080fd5b5035610578565b61025c6004803603602081101561023f57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610745565b60408051918252519081900360200190f35b6101af6004803603602081101561028457600080fd5b5035610903565b6101af600480360360208110156102a157600080fd5b8101906020810181356401000000008111156102bc57600080fd5b8201836020820111156102ce57600080fd5b803590602001918460208302840111640100000000831117156102f057600080fd5b5090925090506109f2565b6101af6004803603602081101561031157600080fd5b5035610b0c565b6101af610c11565b6101af6004803603602081101561033657600080fd5b5035610d1f565b6101af6004803603602081101561035357600080fd5b5035610e25565b6101af610f14565b6101af6004803603604081101561037857600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516611014565b61025c6111d3565b6103ad6111d9565b6040805173ffffffffffffffffffffffffffffffffffffffff90951685526020850193909352838301919091526060830152519081900360800190f35b6103f2611201565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b61025c61121d565b61025c611223565b6101af6004803603602081101561044157600080fd5b5035611229565b6103f2611385565b6101af6004803603602081101561046657600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166113a1565b61025c61152b565b61049361157c565b60005473ffffffffffffffffffffffffffffffffffffffff90811691161461051c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6005546006546105469173ffffffffffffffffffffffffffffffffffffffff909116908390611580565b506000600555565b600a6020526000908152604090208054600182015460028301546003909301549192909160ff1684565b336000908152600a6020526040902080548211156105f757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5769746864726177696e67206d6f7265207468616e20796f7520686176652100604482015290519081900360640190fd5b6105ff61160d565b600381015460009060ff166106165760085461061a565b6009545b90506000610652836001015461064c64e8d4a510006106468688600001546117db90919063ffffffff16565b90611531565b9061184e565b9050801561066f5760028301546106699082611890565b60028401555b83156106ed578254610681908561184e565b8355600454156106c95760006106a86103e8610646600454886117db90919063ffffffff16565b90506106b4858261184e565b6005549095506106c49082611890565b600555505b6006546106ed9073ffffffffffffffffffffffffffffffffffffffff163386611580565b82546107049064e8d4a510009061064690856117db565b600184015560408051858152905133917f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364919081900360200190a250505050565b6007546000901580610758575060075443105b15610765575060006108fe565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600a60205260408120600381015490919060ff166107a1576008546107a5565b6009545b600654604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905192935060009273ffffffffffffffffffffffffffffffffffffffff909216916370a0823191602480820192602092909190829003018186803b15801561081c57600080fd5b505afa158015610830573d6000803e3d6000fd5b505050506040513d602081101561084657600080fd5b50516007549091504311801561085b57508015155b156108c257600383015460009060ff166108775760025461087b565b6003545b60075490915060009061088f90439061184e565b9050600061089d82846117db565b90506108bc6108b5856106468464e8d4a510006117db565b8690611890565b94505050505b6108f883600201546108f2856001015461064c64e8d4a51000610646888a600001546117db90919063ffffffff16565b90611890565b93505050505b919050565b61090b61157c565b60005473ffffffffffffffffffffffffffffffffffffffff90811691161461099457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600081116109ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260288152602001806120366028913960400191505060405180910390fd5b600255565b6109fa61157c565b60005473ffffffffffffffffffffffffffffffffffffffff908116911614610a8357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60005b81811015610b07576001600a6000858585818110610aa057fe5b6020908102929092013573ffffffffffffffffffffffffffffffffffffffff1683525081019190915260400160002060030180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055600101610a86565b505050565b610b1461157c565b60005473ffffffffffffffffffffffffffffffffffffffff908116911614610b9d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60075415610c0c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d696e696e6720616c7265616479207374617274656400000000000000000000604482015290519081900360640190fd5b600755565b336000908152600a60205260409020610c2861160d565b600381015460009060ff16610c3f57600854610c43565b6009545b90506000610c6f836001015461064c64e8d4a510006106468688600001546117db90919063ffffffff16565b90506000811180610c84575060008360020154115b15610cfb576002830154610c989082611890565b60028401819055600090610cad903390611904565b60408051828152905191925033917f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d49181900360200190a26002840154610cf4908261184e565b6002850155505b8254610d129064e8d4a510009061064690856117db565b8360010181905550505050565b610d2761157c565b60005473ffffffffffffffffffffffffffffffffffffffff908116911614610db057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6032811115610e2057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f46656520697320746f6f20626967000000000000000000000000000000000000604482015290519081900360640190fd5b600455565b610e2d61157c565b60005473ffffffffffffffffffffffffffffffffffffffff908116911614610eb657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60008111610f0f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260288152602001806120366028913960400191505060405180910390fd5b600355565b610f1c61157c565b60005473ffffffffffffffffffffffffffffffffffffffff908116911614610fa557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b61101c61157c565b60005473ffffffffffffffffffffffffffffffffffffffff9081169116146110a557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60015473ffffffffffffffffffffffffffffffffffffffff161580156110e1575060065473ffffffffffffffffffffffffffffffffffffffff16155b61114c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f546f6b656e7320616c7265616479207365740000000000000000000000000000604482015290519081900360640190fd5b6001805473ffffffffffffffffffffffffffffffffffffffff9384167fffffffffffffffffffffffff0000000000000000000000000000000000000000918216179091556040805160808101825292909316808352600060208401819052938301849052606090920183905260068054909116909117905560078190556008819055600955565b60045481565b60065460075460085460095473ffffffffffffffffffffffffffffffffffffffff9093169284565b60005473ffffffffffffffffffffffffffffffffffffffff1690565b60055481565b60035481565b336000908152600a6020526040902061124061160d565b600381015460009060ff166112575760085461125b565b6009545b8254909150156112ae57600061128f836001015461064c64e8d4a510006106468688600001546117db90919063ffffffff16565b905080156112ac5760028301546112a69082611890565b60028401555b505b821561132e576006546112d99073ffffffffffffffffffffffffffffffffffffffff16333086611b13565b6004541561131f5760006112fe6103e8610646600454876117db90919063ffffffff16565b905061130a848261184e565b60055490945061131a9082611890565b600555505b815461132b9084611890565b82555b81546113459064e8d4a510009061064690846117db565b600183015560408051848152905133917fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c919081900360200190a2505050565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b6113a961157c565b60005473ffffffffffffffffffffffffffffffffffffffff90811691161461143257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff811661149e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806120106026913960400191505060405180910390fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60025481565b600061157383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611bae565b90505b92915050565b3390565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052610b07908490611c6c565b6007541580159061162057506007544310155b61168b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d696e696e67206e6f7420796574207374617274656400000000000000000000604482015290519081900360640190fd5b6007544311611699576117d9565b600654604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905160009273ffffffffffffffffffffffffffffffffffffffff16916370a08231916024808301926020929190829003018186803b15801561170a57600080fd5b505afa15801561171e573d6000803e3d6000fd5b505050506040513d602081101561173457600080fd5b50519050806117475750436007556117d9565b60075460009061175890439061184e565b90506000611771600254836117db90919063ffffffff16565b9050600061178a600354846117db90919063ffffffff16565b90506117ab6117a2856106468564e8d4a510006117db565b60085490611890565b6008556117cd6117c4856106468464e8d4a510006117db565b60095490611890565b60095550504360075550505b565b6000826117ea57506000611576565b828202828482816117f757fe5b0414611573576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806120846021913960400191505060405180910390fd5b600061157383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611d44565b60008282018381101561157357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600154604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051600092839273ffffffffffffffffffffffffffffffffffffffff909116916370a0823191602480820192602092909190829003018186803b15801561197a57600080fd5b505afa15801561198e573d6000803e3d6000fd5b505050506040513d60208110156119a457600080fd5b5051905080831115611a6157600154604080517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8781166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b158015611a2c57600080fd5b505af1158015611a40573d6000803e3d6000fd5b505050506040513d6020811015611a5657600080fd5b509091506115769050565b600154604080517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8781166004830152602482018790529151919092169163a9059cbb9160448083019260209291908290030181600087803b158015611add57600080fd5b505af1158015611af1573d6000803e3d6000fd5b505050506040513d6020811015611b0757600080fd5b50839250611576915050565b6040805173ffffffffffffffffffffffffffffffffffffffff80861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd00000000000000000000000000000000000000000000000000000000179052611ba8908590611c6c565b50505050565b60008183611c54576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611c19578181015183820152602001611c01565b50505050905090810190601f168015611c465780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581611c6057fe5b049150505b9392505050565b6000611cce826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16611db89092919063ffffffff16565b805190915015610b0757808060200190516020811015611ced57600080fd5b5051610b07576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806120a5602a913960400191505060405180910390fd5b60008184841115611db0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201818152835160248401528351909283926044909101919085019080838360008315611c19578181015183820152602001611c01565b505050900390565b6060611dc78484600085611dcf565b949350505050565b606082471015611e2a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061205e6026913960400191505060405180910390fd5b611e3385611f89565b611e9e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310611f0757805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101611eca565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611f69576040519150601f19603f3d011682016040523d82523d6000602084013e611f6e565b606091505b5091509150611f7e828286611f8f565b979650505050505050565b3b151590565b60608315611f9e575081611c65565b825115611fae5782518084602001fd5b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201818152845160248401528451859391928392604401919085019080838360008315611c19578181015183820152602001611c0156fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373444545502070657220626c6f636b2073686f756c642062652067726561746572207468616e203021416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220a6ccf7dd89157da481a4968aeb4659fdda1a7503628ead7c070579b881e6918964736f6c63430007060033

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.