ETH Price: $3,398.95 (+4.39%)
Gas: 12.7 Gwei
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw165278862023-01-31 16:05:11730 days ago1675181111IN
0x9c9FE0e4...e1eDFBF24
0 ETH0.0031065541.04696708
Withdraw164141852023-01-15 19:07:47746 days ago1673809667IN
0x9c9FE0e4...e1eDFBF24
0 ETH0.0024146926.0252396
Withdraw154339862022-08-29 12:04:28886 days ago1661774668IN
0x9c9FE0e4...e1eDFBF24
0 ETH0.000559637.39444464
Withdraw153535392022-08-16 16:59:27898 days ago1660669167IN
0x9c9FE0e4...e1eDFBF24
0 ETH0.0020913622.54037869
Withdraw150683932022-07-03 8:07:41943 days ago1656835661IN
0x9c9FE0e4...e1eDFBF24
0 ETH0.000708799.29434306
Withdraw150448272022-06-29 11:35:55947 days ago1656502555IN
0x9c9FE0e4...e1eDFBF24
0 ETH0.0019325632.66621335
Withdraw144880432022-03-30 14:19:201038 days ago1648649960IN
0x9c9FE0e4...e1eDFBF24
0 ETH0.0035248737.75527913
Withdraw144213602022-03-20 5:31:341048 days ago1647754294IN
0x9c9FE0e4...e1eDFBF24
0 ETH0.0020429226.78862297
Withdraw136754202021-11-24 5:35:251164 days ago1637732125IN
0x9c9FE0e4...e1eDFBF24
0 ETH0.0070295992.17805088
Withdraw134523402021-10-20 3:56:281199 days ago1634702188IN
0x9c9FE0e4...e1eDFBF24
0 ETH0.003495259.07949444
Withdraw133777322021-10-08 10:40:461211 days ago1633689646IN
0x9c9FE0e4...e1eDFBF24
0 ETH0.00600938101.57671571
Withdraw131680692021-09-05 21:17:041243 days ago1630876624IN
0x9c9FE0e4...e1eDFBF24
0 ETH0.00927009156.69266642
Withdraw130215332021-08-14 6:02:381266 days ago1628920958IN
0x9c9FE0e4...e1eDFBF24
0 ETH0.0014028840
Withdraw129771512021-08-07 9:39:201273 days ago1628329160IN
0x9c9FE0e4...e1eDFBF24
0 ETH0.0040739353.42090559
Withdraw129727212021-08-06 17:17:421273 days ago1628270262IN
0x9c9FE0e4...e1eDFBF24
0 ETH0.0042100955.20634005
Withdraw129096442021-07-27 18:18:261283 days ago1627409906IN
0x9c9FE0e4...e1eDFBF24
0 ETH0.0022878330
Withdraw128947272021-07-25 9:50:161286 days ago1627206616IN
0x9c9FE0e4...e1eDFBF24
0 ETH0.0010676514
Renounce Ownersh...127356082021-06-30 13:27:001311 days ago1625059620IN
0x9c9FE0e4...e1eDFBF24
0 ETH0.0002244316
Add Lockup127355792021-06-30 13:20:231311 days ago1625059223IN
0x9c9FE0e4...e1eDFBF24
0 ETH0.0044265416

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
LinearVesting

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 999999 runs

Other Settings:
default evmVersion
File 1 of 9 : LinearVesting.sol
// SPDX-License-Identifier: GPL-3.0-or-later

pragma solidity >=0.8.0;

import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./libraries/LinearVestingLibrary.sol";

contract LinearVesting is ReentrancyGuard, Ownable {    
    using SafeERC20 for IERC20;
    using LinearVestingLibrary for LinearVestingLibrary.Data;

    event Withdraw(address indexed sender, uint amount);
    event SetLockup(address _account, uint total);

    mapping(address => uint) public lockupAmountOf;
    mapping(address => uint) public vestedAmountOf;

    address immutable private token;
    LinearVestingLibrary.Data private vestingData;

    constructor(
        address _token,
        uint _cliffEndBlock,
        uint _vestingDurationBlocks
    ) {
        token = _token;
        vestingData.initialize(
            _cliffEndBlock,
            _vestingDurationBlocks
        );
    }

    function addLockup(address[] calldata _accounts, uint128[] calldata _amounts) external onlyOwner {
        require(_accounts.length == _amounts.length, "LinearVesting: LENGTH");
        for (uint i; i < _accounts.length; ++i) {
            lockupAmountOf[_accounts[i]] += _amounts[i];
            emit SetLockup(_accounts[i], lockupAmountOf[_accounts[i]]);
        }
    }

    function setLockup(address[] calldata _accounts, uint128[] calldata _totalAmounts) external onlyOwner {
        require(_accounts.length == _totalAmounts.length, "LinearVesting: LENGTH");
        for (uint i; i < _accounts.length; ++i) {
            lockupAmountOf[_accounts[i]] = _totalAmounts[i];
            emit SetLockup(_accounts[i], _totalAmounts[i]);
        }
    }

    /// @notice Withdrawals are allowed only if ownership was renounced (setLockup cannot be called, vesting recipients cannot be changed anymore)
    function withdraw() external nonReentrant {
        require(owner() == address(0), "LinearVesting: RENOUNCE_OWNERSHIP");
        uint unlocked = vestingData.availableInputAmount(
            lockupAmountOf[msg.sender], 
            vestedAmountOf[msg.sender]
        );
        require(unlocked > 0, "LinearVesting: ZERO");
        vestedAmountOf[msg.sender] += unlocked;
        IERC20(token).safeTransfer(msg.sender, unlocked);
        emit Withdraw(msg.sender, unlocked);
    }
 
    function unlockedAmountOf(address _account) external view returns (uint) {
        return vestingData.availableInputAmount(
            lockupAmountOf[_account], 
            vestedAmountOf[_account]
        );
    }
}

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

pragma solidity ^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 () {
        _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 3 of 9 : SafeERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

File 5 of 9 : LinearVestingLibrary.sol
// SPDX-License-Identifier: GPL-3.0-or-later

pragma solidity >=0.8.0;

import "@openzeppelin/contracts/utils/math/Math.sol";

library LinearVestingLibrary {
    
    struct Data {
        uint cliffEndBlock;
        uint vestingDurationBlocks;
    }

    function initialize(
        Data storage self,
        uint cliffEndBlock,
        uint vestingDurationBlocks
    ) internal {
        // cliff may have zero duration to instantaneously unlock percentage of funds
        self.cliffEndBlock = cliffEndBlock;
        self.vestingDurationBlocks = vestingDurationBlocks;
    }

    function availableInputAmount(
        Data storage self, 
        uint totalAmount, 
        uint vestedAmount 
    ) internal view returns (uint) {
        if (block.number < self.cliffEndBlock || totalAmount == 0) {
            return 0; // no unlock or vesting yet
        }
        return _vested(self, totalAmount, vestedAmount);
    }

    function _vested(
        Data storage self, 
        uint totalAmount, 
        uint vestedAmount
    ) private view returns (uint) {
        if (totalAmount == vestedAmount) {
            return 0;
        }
        if (self.vestingDurationBlocks == 0 || block.number >= self.cliffEndBlock + self.vestingDurationBlocks) {
            return totalAmount - vestedAmount;
        }
        uint passedBlocks = block.number - self.cliffEndBlock;
        uint available = totalAmount * passedBlocks / self.vestingDurationBlocks - vestedAmount;
        return Math.min(available, totalAmount - vestedAmount);
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

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

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

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

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

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

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

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

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

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

File 8 of 9 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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

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

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow, so we distribute
        return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2);
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_cliffEndBlock","type":"uint256"},{"internalType":"uint256","name":"_vestingDurationBlocks","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"},{"indexed":false,"internalType":"uint256","name":"total","type":"uint256"}],"name":"SetLockup","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[{"internalType":"address[]","name":"_accounts","type":"address[]"},{"internalType":"uint128[]","name":"_amounts","type":"uint128[]"}],"name":"addLockup","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lockupAmountOf","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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_accounts","type":"address[]"},{"internalType":"uint128[]","name":"_totalAmounts","type":"uint128[]"}],"name":"setLockup","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"unlockedAmountOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"vestedAmountOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a060405234801561001057600080fd5b506040516114d93803806114d983398101604081905261002f916100b1565b6001600081815581546001600160a01b031916339081179092556040518291907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350606083901b6001600160601b03191660805261009e600483836100a6602090811b610cd417901c565b5050506100f2565b908255600190910155565b6000806000606084860312156100c5578283fd5b83516001600160a01b03811681146100db578384fd5b602085015160409095015190969495509392505050565b60805160601c6113c9610110600039600061037001526113c96000f3fe608060405234801561001057600080fd5b50600436106100a35760003560e01c80638da5cb5b11610076578063aaffae181161005b578063aaffae1814610148578063f2fde38b1461015b578063fe2809431461016e57600080fd5b80638da5cb5b1461010d578063a742c88e1461013557600080fd5b806332cf261d146100a85780633ccfd60b146100db578063420c279d146100e5578063715018a614610105575b600080fd5b6100c86100b63660046110fc565b60026020526000908152604090205481565b6040519081526020015b60405180910390f35b6100e3610181565b005b6100c86100f33660046110fc565b60036020526000908152604090205481565b6100e36103d4565b60015460405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100d2565b6100c86101433660046110fc565b6104c4565b6100e3610156366004611130565b610507565b6100e36101693660046110fc565b6107e9565b6100e361017c366004611130565b61099b565b600260005414156101f3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b600260005560015473ffffffffffffffffffffffffffffffffffffffff161561029e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4c696e65617256657374696e673a2052454e4f554e43455f4f574e455253484960448201527f500000000000000000000000000000000000000000000000000000000000000060648201526084016101ea565b3360009081526002602090815260408083205460039092528220546102c591600491610cdf565b905060008111610331576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f4c696e65617256657374696e673a205a45524f0000000000000000000000000060448201526064016101ea565b3360009081526003602052604081208054839290610350908490611256565b90915550610397905073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000163383610d11565b60405181815233907f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a94243649060200160405180910390a2506001600055565b60015473ffffffffffffffffffffffffffffffffffffffff163314610455576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016101ea565b60015460405160009173ffffffffffffffffffffffffffffffffffffffff16907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260026020908152604080832054600390925282205461050191600491610cdf565b92915050565b60015473ffffffffffffffffffffffffffffffffffffffff163314610588576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016101ea565b8281146105f1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4c696e65617256657374696e673a204c454e475448000000000000000000000060448201526064016101ea565b60005b838110156107e257828282818110610635577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201602081019061064a91906111b9565b6fffffffffffffffffffffffffffffffff1660026000878785818110610699577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906106ae91906110fc565b73ffffffffffffffffffffffffffffffffffffffff1681526020810191909152604001600020557f059e7ec00f4ba46008b44d7649fbf9f22f6439bb993a0c101a9459fc41e2a03c85858381811061072f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201602081019061074491906110fc565b84848481811061077d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201602081019061079291906111b9565b6040805173ffffffffffffffffffffffffffffffffffffffff90931683526fffffffffffffffffffffffffffffffff90911660208301520160405180910390a16107db8161132b565b90506105f4565b5050505050565b60015473ffffffffffffffffffffffffffffffffffffffff16331461086a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016101ea565b73ffffffffffffffffffffffffffffffffffffffff811661090d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016101ea565b60015460405173ffffffffffffffffffffffffffffffffffffffff8084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60015473ffffffffffffffffffffffffffffffffffffffff163314610a1c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016101ea565b828114610a85576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4c696e65617256657374696e673a204c454e475448000000000000000000000060448201526064016101ea565b60005b838110156107e257828282818110610ac9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190610ade91906111b9565b6fffffffffffffffffffffffffffffffff1660026000878785818110610b2d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190610b4291906110fc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610b8b9190611256565b909155507f059e7ec00f4ba46008b44d7649fbf9f22f6439bb993a0c101a9459fc41e2a03c9050858583818110610beb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190610c0091906110fc565b60026000888886818110610c3d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190610c5291906110fc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054604051610cbc92919073ffffffffffffffffffffffffffffffffffffffff929092168252602082015260400190565b60405180910390a1610ccd8161132b565b9050610a88565b908255600190910155565b8254600090431080610cef575082155b15610cfc57506000610d0a565b610d07848484610da3565b90505b9392505050565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052610d9e908490610e44565b505050565b600081831415610db557506000610d0a565b60018401541580610dd6575060018401548454610dd29190611256565b4310155b15610dec57610de582846112e4565b9050610d0a565b8354600090610dfb90436112e4565b905060008386600101548387610e1191906112a7565b610e1b919061126e565b610e2591906112e4565b9050610e3a81610e3586886112e4565b610f50565b9695505050505050565b6000610ea6826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16610f669092919063ffffffff16565b805190915015610d9e5780806020019051810190610ec49190611199565b610d9e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016101ea565b6000818310610f5f5781610d0a565b5090919050565b6060610d07848460008585843b610fd9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016101ea565b6000808673ffffffffffffffffffffffffffffffffffffffff16858760405161100291906111e9565b60006040518083038185875af1925050503d806000811461103f576040519150601f19603f3d011682016040523d82523d6000602084013e611044565b606091505b509150915061105482828661105f565b979650505050505050565b6060831561106e575081610d0a565b82511561107e5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101ea9190611205565b60008083601f8401126110c3578182fd5b50813567ffffffffffffffff8111156110da578182fd5b6020830191508360208260051b85010111156110f557600080fd5b9250929050565b60006020828403121561110d578081fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610d0a578182fd5b60008060008060408587031215611145578283fd5b843567ffffffffffffffff8082111561115c578485fd5b611168888389016110b2565b90965094506020870135915080821115611180578384fd5b5061118d878288016110b2565b95989497509550505050565b6000602082840312156111aa578081fd5b81518015158114610d0a578182fd5b6000602082840312156111ca578081fd5b81356fffffffffffffffffffffffffffffffff81168114610d0a578182fd5b600082516111fb8184602087016112fb565b9190910192915050565b60208152600082518060208401526112248160408501602087016112fb565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b6000821982111561126957611269611364565b500190565b6000826112a2577f4e487b710000000000000000000000000000000000000000000000000000000081526012600452602481fd5b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156112df576112df611364565b500290565b6000828210156112f6576112f6611364565b500390565b60005b838110156113165781810151838201526020016112fe565b83811115611325576000848401525b50505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561135d5761135d611364565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfea26469706673582212205f5f1390243bf721e42e705ed127da89b830bbcc49644b11b2047378774d70c364736f6c63430008040033000000000000000000000000d9c2d319cd7e6177336b0a9c93c21cb48d84fb540000000000000000000000000000000000000000000000000000000000c2511e0000000000000000000000000000000000000000000000000000000000243394

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100a35760003560e01c80638da5cb5b11610076578063aaffae181161005b578063aaffae1814610148578063f2fde38b1461015b578063fe2809431461016e57600080fd5b80638da5cb5b1461010d578063a742c88e1461013557600080fd5b806332cf261d146100a85780633ccfd60b146100db578063420c279d146100e5578063715018a614610105575b600080fd5b6100c86100b63660046110fc565b60026020526000908152604090205481565b6040519081526020015b60405180910390f35b6100e3610181565b005b6100c86100f33660046110fc565b60036020526000908152604090205481565b6100e36103d4565b60015460405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100d2565b6100c86101433660046110fc565b6104c4565b6100e3610156366004611130565b610507565b6100e36101693660046110fc565b6107e9565b6100e361017c366004611130565b61099b565b600260005414156101f3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b600260005560015473ffffffffffffffffffffffffffffffffffffffff161561029e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4c696e65617256657374696e673a2052454e4f554e43455f4f574e455253484960448201527f500000000000000000000000000000000000000000000000000000000000000060648201526084016101ea565b3360009081526002602090815260408083205460039092528220546102c591600491610cdf565b905060008111610331576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f4c696e65617256657374696e673a205a45524f0000000000000000000000000060448201526064016101ea565b3360009081526003602052604081208054839290610350908490611256565b90915550610397905073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000d9c2d319cd7e6177336b0a9c93c21cb48d84fb54163383610d11565b60405181815233907f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a94243649060200160405180910390a2506001600055565b60015473ffffffffffffffffffffffffffffffffffffffff163314610455576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016101ea565b60015460405160009173ffffffffffffffffffffffffffffffffffffffff16907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b73ffffffffffffffffffffffffffffffffffffffff8116600090815260026020908152604080832054600390925282205461050191600491610cdf565b92915050565b60015473ffffffffffffffffffffffffffffffffffffffff163314610588576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016101ea565b8281146105f1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4c696e65617256657374696e673a204c454e475448000000000000000000000060448201526064016101ea565b60005b838110156107e257828282818110610635577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201602081019061064a91906111b9565b6fffffffffffffffffffffffffffffffff1660026000878785818110610699577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906106ae91906110fc565b73ffffffffffffffffffffffffffffffffffffffff1681526020810191909152604001600020557f059e7ec00f4ba46008b44d7649fbf9f22f6439bb993a0c101a9459fc41e2a03c85858381811061072f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201602081019061074491906110fc565b84848481811061077d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201602081019061079291906111b9565b6040805173ffffffffffffffffffffffffffffffffffffffff90931683526fffffffffffffffffffffffffffffffff90911660208301520160405180910390a16107db8161132b565b90506105f4565b5050505050565b60015473ffffffffffffffffffffffffffffffffffffffff16331461086a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016101ea565b73ffffffffffffffffffffffffffffffffffffffff811661090d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016101ea565b60015460405173ffffffffffffffffffffffffffffffffffffffff8084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60015473ffffffffffffffffffffffffffffffffffffffff163314610a1c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016101ea565b828114610a85576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4c696e65617256657374696e673a204c454e475448000000000000000000000060448201526064016101ea565b60005b838110156107e257828282818110610ac9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190610ade91906111b9565b6fffffffffffffffffffffffffffffffff1660026000878785818110610b2d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190610b4291906110fc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610b8b9190611256565b909155507f059e7ec00f4ba46008b44d7649fbf9f22f6439bb993a0c101a9459fc41e2a03c9050858583818110610beb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190610c0091906110fc565b60026000888886818110610c3d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190610c5291906110fc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054604051610cbc92919073ffffffffffffffffffffffffffffffffffffffff929092168252602082015260400190565b60405180910390a1610ccd8161132b565b9050610a88565b908255600190910155565b8254600090431080610cef575082155b15610cfc57506000610d0a565b610d07848484610da3565b90505b9392505050565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052610d9e908490610e44565b505050565b600081831415610db557506000610d0a565b60018401541580610dd6575060018401548454610dd29190611256565b4310155b15610dec57610de582846112e4565b9050610d0a565b8354600090610dfb90436112e4565b905060008386600101548387610e1191906112a7565b610e1b919061126e565b610e2591906112e4565b9050610e3a81610e3586886112e4565b610f50565b9695505050505050565b6000610ea6826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16610f669092919063ffffffff16565b805190915015610d9e5780806020019051810190610ec49190611199565b610d9e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016101ea565b6000818310610f5f5781610d0a565b5090919050565b6060610d07848460008585843b610fd9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016101ea565b6000808673ffffffffffffffffffffffffffffffffffffffff16858760405161100291906111e9565b60006040518083038185875af1925050503d806000811461103f576040519150601f19603f3d011682016040523d82523d6000602084013e611044565b606091505b509150915061105482828661105f565b979650505050505050565b6060831561106e575081610d0a565b82511561107e5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101ea9190611205565b60008083601f8401126110c3578182fd5b50813567ffffffffffffffff8111156110da578182fd5b6020830191508360208260051b85010111156110f557600080fd5b9250929050565b60006020828403121561110d578081fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610d0a578182fd5b60008060008060408587031215611145578283fd5b843567ffffffffffffffff8082111561115c578485fd5b611168888389016110b2565b90965094506020870135915080821115611180578384fd5b5061118d878288016110b2565b95989497509550505050565b6000602082840312156111aa578081fd5b81518015158114610d0a578182fd5b6000602082840312156111ca578081fd5b81356fffffffffffffffffffffffffffffffff81168114610d0a578182fd5b600082516111fb8184602087016112fb565b9190910192915050565b60208152600082518060208401526112248160408501602087016112fb565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b6000821982111561126957611269611364565b500190565b6000826112a2577f4e487b710000000000000000000000000000000000000000000000000000000081526012600452602481fd5b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156112df576112df611364565b500290565b6000828210156112f6576112f6611364565b500390565b60005b838110156113165781810151838201526020016112fe565b83811115611325576000848401525b50505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561135d5761135d611364565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfea26469706673582212205f5f1390243bf721e42e705ed127da89b830bbcc49644b11b2047378774d70c364736f6c63430008040033

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

000000000000000000000000d9c2d319cd7e6177336b0a9c93c21cb48d84fb540000000000000000000000000000000000000000000000000000000000c2511e0000000000000000000000000000000000000000000000000000000000243394

-----Decoded View---------------
Arg [0] : _token (address): 0xD9c2D319Cd7e6177336b0a9c93c21cb48d84Fb54
Arg [1] : _cliffEndBlock (uint256): 12734750
Arg [2] : _vestingDurationBlocks (uint256): 2372500

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000d9c2d319cd7e6177336b0a9c93c21cb48d84fb54
Arg [1] : 0000000000000000000000000000000000000000000000000000000000c2511e
Arg [2] : 0000000000000000000000000000000000000000000000000000000000243394


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.