Contract 0x41B47F3c7fd8Cd47652f72997A765373F265739C

 
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x043a414a03e704906b52eefef5580ddebbf02e38307cbc5501460c4da82518d6Claim117304202021-10-13 7:10:0614 days 8 hrs ago0x006c77e68d2ce85db549bac376b4c7283a332447 IN  0x41b47f3c7fd8cd47652f72997a765373f265739c0 BNB0.0004353
0xd4dd46b4577a48710cc23a50fb9d8a0e8fb54a06ad138b39a5d003745f7fcfe3Claim115673872021-10-07 14:12:0720 days 1 hr ago0x89f0aa40843cb5bffc2ee4e75f3a1faffce2fe81 IN  0x41b47f3c7fd8cd47652f72997a765373f265739c0 BNB0.0003603
0xff0b8b0db07013eb8bc5c211220dbbd740b228e905bd608e93827b74a1530f69Claim115552922021-10-07 4:06:0820 days 11 hrs ago0xb049bcca93d9df91a9a4dddbeaf0037f002b5cdf IN  0x41b47f3c7fd8cd47652f72997a765373f265739c0 BNB0.0004353
0x7a94a0cd62e34037c193b544d1a0d588564becd6e97ca3bb2c879a67bfa08368Claim115387372021-10-06 14:17:5721 days 1 hr ago0xe7adf11ad5f6553b4a10fd8323c73f45b9fd99f5 IN  0x41b47f3c7fd8cd47652f72997a765373f265739c0 BNB0.0004353
0x2f577efce68f3d7f57ddeca4c2d9ce2edb8e6ad2ef3c2ce4e4204fe34a075ae1Claim114707092021-10-04 5:32:1723 days 10 hrs ago0x4656550a3af11039dfd6145911f95fb681975ec6 IN  0x41b47f3c7fd8cd47652f72997a765373f265739c0 BNB0.0003603
0xc0d8564dd4c0a542b9398abc838fb423fb776b6046ff7b0b5f3439b3263fce52Claim114439642021-10-03 7:10:5724 days 8 hrs ago0x75a5e362252a1630fa8a1544bfa105a86edbbfb1 IN  0x41b47f3c7fd8cd47652f72997a765373f265739c0 BNB0.0004353
0x13ab6e943d345df484ca80d58785c41091dd16710e3253d9eb888b90d04dd37bClaim113435912021-09-29 18:38:1127 days 21 hrs ago0x9a4d2b5ba5ec37caf0acd2ec34ec9e6392d48af0 IN  0x41b47f3c7fd8cd47652f72997a765373f265739c0 BNB0.0003603
0x3989920090f37944f6c42d19acf2aa2ab89c5914e638b1039f4bee94b39160e5Claim113085172021-09-28 13:07:4829 days 2 hrs ago0xb1b34ccee703491d9d5ef9d9af2f18124d661f6a IN  0x41b47f3c7fd8cd47652f72997a765373f265739c0 BNB0.0003603
0x26cb562ea37cdc582a9bda99a2864d3ebcfd3bd595b3286d48a9ad10b02354a2Claim112727072021-09-27 6:56:4230 days 8 hrs ago0xc72d3b15c8de940ce3fabd63222ee34dec8698b4 IN  0x41b47f3c7fd8cd47652f72997a765373f265739c0 BNB0.0003603
0x59996b6204a2d72008c4ea6510515950823f82a65487ee80b5644c4b5b7f76a8Claim112565752021-09-26 17:20:2130 days 22 hrs ago0x1b16581672df2b4725054b4b1a8cb3dba2521b91 IN  0x41b47f3c7fd8cd47652f72997a765373f265739c0 BNB0.0002853
0xcb65ffc906e2ee2d69d0a1a90a3c8ae123c0fbe13de91829c59b6e7e7bfc4b1aClaim111466552021-09-22 21:12:2534 days 18 hrs ago0x59dd76d4c44793164cbba460436cd32b588c0b66 IN  0x41b47f3c7fd8cd47652f72997a765373f265739c0 BNB0.0003603
0x7705ffed19d5124c3cb6d2d4bcc323c3b45bd313c8e5418e8dcdfba4e1c06520Claim111254112021-09-22 3:22:3835 days 12 hrs ago0x32b84aa789d1ba82064614f2b0c05098b03e074b IN  0x41b47f3c7fd8cd47652f72997a765373f265739c0 BNB0.0004353
0xc0b8247462579e6751f23e16d48bfe5e2bf4e9bdefb2e497ec5bdca930588671Claim111134472021-09-21 17:16:0135 days 22 hrs ago0x7803449da043451ec562d59895bc3a074c4c7521 IN  0x41b47f3c7fd8cd47652f72997a765373f265739c0 BNB0.0003603
0xa965f8673fe76fb4635e8315b775102c310bd3879e5ca3b19a78969c449f3529Claim109687292021-09-16 16:13:2740 days 23 hrs ago0x79f0e0b1318c844cf41e8fdff445c25aa7c3c532 IN  0x41b47f3c7fd8cd47652f72997a765373f265739c0 BNB0.0004353
0x9987b4bc3ab2a903fe9141848c3d7f5cb54373f7406f65c8ec62ab0ce046ccf1Claim109660252021-09-16 13:57:5241 days 1 hr ago0x46203fc5ed710507937b471c4626f193d3bcaf85 IN  0x41b47f3c7fd8cd47652f72997a765373f265739c0 BNB0.0003603
0x4132bca4033e9211292a500a60ddd7ed70bba8c60bdb7b85cb00ab601acea7a6Claim109658072021-09-16 13:46:5841 days 1 hr ago0x52664f2f38732caec3201e19f62b20cc7f91e36e IN  0x41b47f3c7fd8cd47652f72997a765373f265739c0 BNB0.0002853
0xf1662585250b82ade61400ef689c2d9e2ac76c00a0d8969e4149242475460f7aClaim109610272021-09-16 9:46:4941 days 5 hrs ago0xfc9d38f6a53aa4bf14c99ffed17035acc766cce4 IN  0x41b47f3c7fd8cd47652f72997a765373f265739c0 BNB0.0003603
0x50256d19becc5eaf03053e8aab839ba0e143de784a97d52ed79990565896333bClaim109229392021-09-15 1:55:0842 days 13 hrs ago0x39ac86143a801b065de4f9864882f3a549874acb IN  0x41b47f3c7fd8cd47652f72997a765373f265739c0 BNB0.0003603
0xacebb228b8ad29296a37016dddc674990decdd9b711ef0feb2b33a1b5f312168Claim109126832021-09-14 17:21:3642 days 22 hrs ago0x0ec6f3ed26b6fbae9de326406694f0294bf170be IN  0x41b47f3c7fd8cd47652f72997a765373f265739c0 BNB0.0002853
0xa0b251bb0b995a190ce469532e5c43e9803f6535ea199167c52924f43623a2e7Claim108951542021-09-14 2:42:2343 days 13 hrs ago0xbfc0d877c6d49b36621bf0403fe3e889af2f1cd6 IN  0x41b47f3c7fd8cd47652f72997a765373f265739c0 BNB0.0002853
0xbe115e4e6f03dc41966a8e49ca21459a3926737d769c20ea82499f4b02d6abc8Claim108792812021-09-13 13:27:3044 days 2 hrs ago0x0a1fbba8e73495c77d1a5851685a2326d1321079 IN  0x41b47f3c7fd8cd47652f72997a765373f265739c0 BNB0.0003603
0xc77ed6172aeae258f7b01843bbaa29523fa11f7a90a9ea96fc2f58ddc8862b1bClaim108404872021-09-12 5:04:5145 days 10 hrs ago0xaf9730894e2040299ab64fdc6f36600c64533db2 IN  0x41b47f3c7fd8cd47652f72997a765373f265739c0 BNB0.0002853
0x6f7f13b7d5083bed82da30302d6487da96bbcc6e55f8a0114211cd13ed37555dClaim108403662021-09-12 4:58:4845 days 10 hrs ago0x0130e95be2e74524c4e939fcb416578ad9dda517 IN  0x41b47f3c7fd8cd47652f72997a765373f265739c0 BNB0.0002853
0x62c1c8014b3fb01f3467b024e4d3b143e128a49f8a02fac09991c57608ce40d4Claim108108222021-09-11 4:11:2746 days 11 hrs ago0x4b422ab1db14f965164f285eb21ae7383942b737 IN  0x41b47f3c7fd8cd47652f72997a765373f265739c0 BNB0.0004353
0xda77f5d0767b0f564ba0dc965a4f8ed230af81da232813662bc9325fbf493afaClaim107980752021-09-10 17:23:5946 days 22 hrs ago0xbf578f6c3b343c1ad90c353b72e7df9fbd27a899 IN  0x41b47f3c7fd8cd47652f72997a765373f265739c0 BNB0.0002853
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
LinearlyDistribute

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 10000 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 9 : LinearlyDistribute.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.6;

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

contract LinearlyDistribute is Ownable, ReentrancyGuard, Pausable {
  using SafeERC20 for IERC20;
  using SafeMath for uint256;

  IERC20 immutable public token;
  
  uint256 public released;
  uint256 public locked;
  uint256 public distributeBlocks;
  uint256 public startDistributeBlock;
  uint256 public maxClaimPerUser;
  
  uint256 constant public delayBeforeSaveNonClaim = 50000;

  uint256 public totalShare;

  mapping(address => UserInfo) public userInfos;

  struct UserInfo {
    uint256 share;
    uint256 released;
  }

  constructor(
    IERC20 _token,
    uint256 _released,
    uint256 _locked,
    uint256 _distributeBlocks,
    uint256 _startDistributeBlock,
    uint256 _maxClaimPerUser
  ) public {
    token = _token;
    released = _released;
    locked = _locked;
    distributeBlocks = _distributeBlocks;
    startDistributeBlock = _startDistributeBlock;
    maxClaimPerUser = _maxClaimPerUser;
  }

  function totalReleased() public view returns (uint256) {
    if (block.number >= startDistributeBlock) {
      uint256 currentDistributedBlock = block.number - startDistributeBlock;
      uint256 distributePercent = currentDistributedBlock >= distributeBlocks ? 1e12 : currentDistributedBlock.mul(1e12).div(distributeBlocks);
      uint256 currentLockToReleased = locked.mul(distributePercent).div(1e12);

      return released.add(currentLockToReleased);
    } else {
      return 0;
    }
  }

  function totalLocked() public view returns (uint256) {
    uint256 _totalLocked = released + locked;
    return _totalLocked.sub(totalReleased());
  }

  function userPending(address _user) public view returns (uint256) {
    UserInfo memory userInfo = userInfos[_user];
    uint256 _totalReleased = totalReleased();

    if (userInfo.share == 0 || _totalReleased == 0) {
        return 0;
    }

    return userInfo.share.mul(_totalReleased).div(totalShare).sub(userInfo.released);
  }

  function userLocked(address _user) public view returns (uint256) {
    UserInfo memory userInfo = userInfos[_user];
    uint256 _totalLocked = totalLocked();
    
    if (userInfo.share == 0 || _totalLocked == 0) {
        return 0;
    }

    return userInfo.share.mul(totalLocked()).div(totalShare);
  }

  function claim() external whenNotPaused nonReentrant {
    UserInfo storage userInfo = userInfos[msg.sender];
    uint256 pending = userPending(msg.sender);
    require(maxClaimPerUser == 0 || maxClaimPerUser >= pending, "Can't more than max claim!");

    if (pending > 0) {
      userInfo.released = userInfo.released.add(pending);
      token.safeTransfer(msg.sender, pending);
    }
  }

  function setUsers(uint256[] calldata shares, address[] calldata users) external onlyOwner {
    uint256 length = shares.length;
    require(length == users.length, "bad array");
    
    for (uint256 _index = 0; _index < length; _index++) {
      userInfos[users[_index]].share = shares[_index];
      totalShare = totalShare.add(shares[_index]);
    }
  }

  function set(uint256 _released, uint256 _locked, uint256 _distributeBlocks, uint256 _startDistributeBlock, uint256 _maxClaimPerUser) external onlyOwner {
    released = _released;
    locked = _locked;
    distributeBlocks = _distributeBlocks;
    startDistributeBlock = _startDistributeBlock;
    maxClaimPerUser = _maxClaimPerUser;
  }
  
  function pause() external onlyOwner {
    _pause();
  }
  
  function unpause() external onlyOwner {
    _unpause();
  }

  function saveNonClaimTokens() external onlyOwner {
    require(block.number >= startDistributeBlock.add(distributeBlocks).add(delayBeforeSaveNonClaim), "Not yet!");
    token.safeTransfer(msg.sender, token.balanceOf(address(this)));
  }

}

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

pragma solidity >=0.6.0 <0.8.0;

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

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

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

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

File 5 of 9 : 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, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b > a) return (false, 0);
        return (true, a - b);
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, 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 (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }

    /**
     * @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) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @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) {
        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, reverting 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) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting 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) {
        require(b > 0, "SafeMath: modulo by zero");
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * 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);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * 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);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * 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 9 : 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;
    }
}

File 7 of 9 : Pausable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

import "./Context.sol";

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

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

    bool private _paused;

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

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

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

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

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

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

File 8 of 9 : 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);
    }

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

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

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

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

File 9 of 9 : 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;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"uint256","name":"_released","type":"uint256"},{"internalType":"uint256","name":"_locked","type":"uint256"},{"internalType":"uint256","name":"_distributeBlocks","type":"uint256"},{"internalType":"uint256","name":"_startDistributeBlock","type":"uint256"},{"internalType":"uint256","name":"_maxClaimPerUser","type":"uint256"}],"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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"delayBeforeSaveNonClaim","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"distributeBlocks","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"locked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxClaimPerUser","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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saveNonClaimTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_released","type":"uint256"},{"internalType":"uint256","name":"_locked","type":"uint256"},{"internalType":"uint256","name":"_distributeBlocks","type":"uint256"},{"internalType":"uint256","name":"_startDistributeBlock","type":"uint256"},{"internalType":"uint256","name":"_maxClaimPerUser","type":"uint256"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"shares","type":"uint256[]"},{"internalType":"address[]","name":"users","type":"address[]"}],"name":"setUsers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startDistributeBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalLocked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userInfos","outputs":[{"internalType":"uint256","name":"share","type":"uint256"},{"internalType":"uint256","name":"released","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"userLocked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"userPending","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60a060405234801561001057600080fd5b50604051611895380380611895833981810160405260c081101561003357600080fd5b508051602082015160408301516060840151608085015160a090950151939492939192909160006100626100e7565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600180556002805460ff1916905560609590951b6001600160601b0319166080526003939093556004919091556005556006556007556100eb565b3390565b60805160601c61177e6101176000398061055e5280610626528061090d5280610fd5525061177e6000f3fe608060405234801561001057600080fd5b506004361061018d5760003560e01c8063715018a6116100e3578063cf3090121161008c578063eccd65dc11610066578063eccd65dc146103d7578063f2fde38b1461040c578063fc0c546a1461043f5761018d565b8063cf309012146103bf578063d7b52cda146103c7578063e33b7de3146103cf5761018d565b806396132521116100bd57806396132521146102c2578063bba05384146102ca578063bc64d821146102fd5761018d565b8063715018a6146102815780638456cb59146102895780638da5cb5b146102915761018d565b806343b0215f116101455780635c975abb1161011f5780635c975abb1461025557806360b2251d1461027157806370c8ec94146102795761018d565b806343b0215f146101f95780634e71d92d14610245578063568914121461024d5761018d565b80633a9ce71e116101765780633a9ce71e146101b45780633f4ba83a146101be578063414c4695146101c65761018d565b8063026c4207146101925780632336e356146101ac575b600080fd5b61019a610447565b60408051918252519081900360200190f35b61019a61044d565b6101bc610453565b005b6101bc61064f565b61019a600480360360208110156101dc57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166106e5565b61022c6004803603602081101561020f57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661078a565b6040805192835260208301919091528051918290030190f35b6101bc6107a3565b61019a61093c565b61025d61095f565b604080519115158252519081900360200190f35b61019a610968565b61019a61096e565b6101bc610974565b6101bc610a71565b610299610b07565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b61019a610b23565b61019a600480360360208110156102e057600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610b29565b6101bc6004803603604081101561031357600080fd5b81019060208101813564010000000081111561032e57600080fd5b82018360208201111561034057600080fd5b8035906020019184602083028401116401000000008311171561036257600080fd5b91939092909160208101903564010000000081111561038057600080fd5b82018360208201111561039257600080fd5b803590602001918460208302840111640100000000831117156103b457600080fd5b509092509050610bb4565b61019a610d2f565b61019a610d35565b61019a610d3b565b6101bc600480360360a08110156103ed57600080fd5b5080359060208101359060408101359060608101359060800135610dc1565b6101bc6004803603602081101561042257600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610e66565b610299610fd3565b60085481565b61c35081565b61045b610ff7565b73ffffffffffffffffffffffffffffffffffffffff16610479610b07565b73ffffffffffffffffffffffffffffffffffffffff16146104e1576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b61050461c3506104fe600554600654610ffb90919063ffffffff16565b90610ffb565b431015610558576040805162461bcd60e51b815260206004820152600860248201527f4e6f742079657421000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b61064d337f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156105e357600080fd5b505afa1580156105f7573d6000803e3d6000fd5b505050506040513d602081101561060d57600080fd5b505173ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016919061105e565b565b610657610ff7565b73ffffffffffffffffffffffffffffffffffffffff16610675610b07565b73ffffffffffffffffffffffffffffffffffffffff16146106dd576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b61064d6110f0565b60006106ef611697565b5073ffffffffffffffffffffffffffffffffffffffff82166000908152600960209081526040808320815180830190925280548252600101549181019190915290610738610d3b565b82519091501580610747575080155b1561075757600092505050610785565b60208201516008548351610780929161077a9161077490866111c4565b9061121d565b90611284565b925050505b919050565b6009602052600090815260409020805460019091015482565b6107ab61095f565b156107fd576040805162461bcd60e51b815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b60026001541415610855576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260015533600081815260096020526040812091610873906106e5565b90506007546000148061088857508060075410155b6108d9576040805162461bcd60e51b815260206004820152601a60248201527f43616e2774206d6f7265207468616e206d617820636c61696d21000000000000604482015290519081900360640190fd5b80156109345760018201546108ee9082610ffb565b600183015561093473ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016338361105e565b505060018055565b60045460035460009101610958610951610d3b565b8290611284565b9150505b90565b60025460ff1690565b60055481565b60065481565b61097c610ff7565b73ffffffffffffffffffffffffffffffffffffffff1661099a610b07565b73ffffffffffffffffffffffffffffffffffffffff1614610a02576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b610a79610ff7565b73ffffffffffffffffffffffffffffffffffffffff16610a97610b07565b73ffffffffffffffffffffffffffffffffffffffff1614610aff576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b61064d6112e1565b60005473ffffffffffffffffffffffffffffffffffffffff1690565b60035481565b6000610b33611697565b5073ffffffffffffffffffffffffffffffffffffffff82166000908152600960209081526040808320815180830190925280548252600101549181019190915290610b7c61093c565b82519091501580610b8b575080155b15610b9b57600092505050610785565b610780600854610774610bac61093c565b8551906111c4565b610bbc610ff7565b73ffffffffffffffffffffffffffffffffffffffff16610bda610b07565b73ffffffffffffffffffffffffffffffffffffffff1614610c42576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b82818114610c97576040805162461bcd60e51b815260206004820152600960248201527f6261642061727261790000000000000000000000000000000000000000000000604482015290519081900360640190fd5b60005b81811015610d2757858582818110610cae57fe5b9050602002013560096000868685818110610cc557fe5b6020908102929092013573ffffffffffffffffffffffffffffffffffffffff1683525081019190915260400160002055610d1c868683818110610d0457fe5b90506020020135600854610ffb90919063ffffffff16565b600855600101610c9a565b505050505050565b60045481565b60075481565b60006006544310610db9576000600654430390506000600554821015610d7657600554610d71906107748464e8d4a510006111c4565b610d7d565b64e8d4a510005b90506000610d9f64e8d4a51000610774846004546111c490919063ffffffff16565b600354909150610daf9082610ffb565b935050505061095c565b50600061095c565b610dc9610ff7565b73ffffffffffffffffffffffffffffffffffffffff16610de7610b07565b73ffffffffffffffffffffffffffffffffffffffff1614610e4f576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600394909455600492909255600555600655600755565b610e6e610ff7565b73ffffffffffffffffffffffffffffffffffffffff16610e8c610b07565b73ffffffffffffffffffffffffffffffffffffffff1614610ef4576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8116610f465760405162461bcd60e51b81526004018080602001828103825260268152602001806116b26026913960400191505060405180910390fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b7f000000000000000000000000000000000000000000000000000000000000000081565b3390565b600082820183811015611055576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b90505b92915050565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001790526110eb90849061138f565b505050565b6110f861095f565b611149576040805162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f7420706175736564000000000000000000000000604482015290519081900360640190fd5b600280547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61119a610ff7565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190a1565b6000826111d357506000611058565b828202828482816111e057fe5b04146110555760405162461bcd60e51b81526004018080602001828103825260218152602001806116fe6021913960400191505060405180910390fd5b6000808211611273576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161127c57fe5b049392505050565b6000828211156112db576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6112e961095f565b1561133b576040805162461bcd60e51b815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b600280547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861119a610ff7565b60606113f1826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661144d9092919063ffffffff16565b8051909150156110eb5780806020019051602081101561141057600080fd5b50516110eb5760405162461bcd60e51b815260040180806020018281038252602a81526020018061171f602a913960400191505060405180910390fd5b606061145c8484600085611466565b90505b9392505050565b6060824710156114a75760405162461bcd60e51b81526004018080602001828103825260268152602001806116d86026913960400191505060405180910390fd5b6114b0856115ed565b611501576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b6020831061156b57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0909201916020918201910161152e565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146115cd576040519150601f19603f3d011682016040523d82523d6000602084013e6115d2565b606091505b50915091506115e28282866115f3565b979650505050505050565b3b151590565b6060831561160257508161145f565b8251156116125782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561165c578181015183820152602001611644565b50505050905090810190601f1680156116895780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b60405180604001604052806000815260200160008152509056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a26469706673582212208fecc11a99f2cc3ebc59455816bd0c8ba77da654cf252946e401a9a06dc1dff864736f6c634300060c0033000000000000000000000000c350caa89eb963d5d6b964324a0a7736d8d6553300000000000000000000000000000000000000000000be951906eba2aa80000000000000000000000000000000000000000000000001bcb13a657b263880000000000000000000000000000000000000000000000000000000000000000d2f0000000000000000000000000000000000000000000000000000000000008e5d500000000000000000000000000000000000000000000010f0cf064dd592000000

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

000000000000000000000000c350caa89eb963d5d6b964324a0a7736d8d6553300000000000000000000000000000000000000000000be951906eba2aa80000000000000000000000000000000000000000000000001bcb13a657b263880000000000000000000000000000000000000000000000000000000000000000d2f0000000000000000000000000000000000000000000000000000000000008e5d500000000000000000000000000000000000000000000010f0cf064dd592000000

-----Decoded View---------------
Arg [0] : _token (address): 0xc350caa89eb963d5d6b964324a0a7736d8d65533
Arg [1] : _released (uint256): 900000000000000000000000
Arg [2] : _locked (uint256): 2100000000000000000000000
Arg [3] : _distributeBlocks (uint256): 864000
Arg [4] : _startDistributeBlock (uint256): 9330000
Arg [5] : _maxClaimPerUser (uint256): 80000000000000000000000

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 000000000000000000000000c350caa89eb963d5d6b964324a0a7736d8d65533
Arg [1] : 00000000000000000000000000000000000000000000be951906eba2aa800000
Arg [2] : 00000000000000000000000000000000000000000001bcb13a657b2638800000
Arg [3] : 00000000000000000000000000000000000000000000000000000000000d2f00
Arg [4] : 00000000000000000000000000000000000000000000000000000000008e5d50
Arg [5] : 0000000000000000000000000000000000000000000010f0cf064dd592000000


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.