MATIC Price: $1.03 (-0.60%)
Gas: 87 GWei
 

Overview

MATIC Balance

Polygon PoS Chain LogoPolygon PoS Chain LogoPolygon PoS Chain Logo0 MATIC

MATIC Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
0x61010060384304872023-01-23 13:26:56402 days 12 hrs ago1674480416IN
 Create: Vesting
0 MATIC0.0368735259.17022036

Parent Txn Hash Block From To Value
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Vesting

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 150 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 4 : Vesting.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.4;

import "../openzeppelin/SafeERC20.sol";

contract Vesting {
  using SafeERC20 for IERC20;

  /// @dev Token for vesting
  IERC20 public immutable token;
  /// @dev Will start after the cliff
  uint public immutable vestingPeriod;
  /// @dev Delay before the vesting
  uint public immutable cliffPeriod;
  /// @dev Who will receive the tokens
  address public immutable claimant;

  uint public startTs;
  uint public toDistribute;

  event Started(uint amount, uint time);
  event Claimed(address claimer, uint amount);

  constructor(address _token, uint _vestingPeriod, uint _cliffPeriod, address _claimant) {
    require(_token != address(0) && _claimant != address(0), "zero address");
    token = IERC20(_token);
    vestingPeriod = _vestingPeriod;
    cliffPeriod = _cliffPeriod;
    claimant = _claimant;
  }

  function start(uint amount) external {
    require(startTs == 0, "Already started");
    require(claimant == msg.sender, "Not claimant");

    require(IERC20(token).balanceOf(address(this)) == amount, "Incorrect amount");

    startTs = block.timestamp + cliffPeriod;
    toDistribute = amount;
    emit Started(amount, block.timestamp);
  }

  function claim() external {
    address _claimant = claimant;
    require(_claimant == msg.sender, "Not claimant");
    require(startTs != 0, "Not started");

    uint _startTs = startTs;
    require(_startTs < block.timestamp, "Too early");

    uint timeDiff = block.timestamp - _startTs;
    uint toClaim = timeDiff * toDistribute / vestingPeriod;
    uint balance = token.balanceOf(address(this));

    toClaim = balance < toClaim ? balance : toClaim;
    require(toClaim != 0, "Nothing to claim");
    token.safeTransfer(_claimant, toClaim);

    startTs = block.timestamp;
    emit Claimed(_claimant, toClaim);
  }


}

File 2 of 4 : SafeERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./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'
    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
      require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
    }
  }
}

File 3 of 4 : 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 4 of 4 : 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;
    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");

    (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");

    (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");

    (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");

    (bool success, bytes memory returndata) = target.delegatecall(data);
    return verifyCallResult(success, returndata, errorMessage);
  }

  /**
   * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
   * revert reason using the provided one.
   *
   * _Available since v4.3._
   */
  function verifyCallResult(
    bool success,
    bytes memory returndata,
    string memory errorMessage
  ) internal 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

        assembly {
          let returndata_size := mload(returndata)
          revert(add(32, returndata), returndata_size)
        }
      } else {
        revert(errorMessage);
      }
    }
  }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_vestingPeriod","type":"uint256"},{"internalType":"uint256","name":"_cliffPeriod","type":"uint256"},{"internalType":"address","name":"_claimant","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"claimer","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Claimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"time","type":"uint256"}],"name":"Started","type":"event"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimant","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cliffPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"start","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toDistribute","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":"vestingPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

61010060405234801561001157600080fd5b50604051610bc9380380610bc9833981016040819052610030916100d6565b6001600160a01b0384161580159061005057506001600160a01b03811615155b61008f5760405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b604482015260640160405180910390fd5b6001600160601b0319606094851b811660805260a09390935260c09190915290911b1660e05261011b565b80516001600160a01b03811681146100d157600080fd5b919050565b600080600080608085870312156100eb578384fd5b6100f4856100ba565b93506020850151925060408501519150610110606086016100ba565b905092959194509250565b60805160601c60a05160c05160e05160601c610a406101896000396000818161012201528181610185015261046901526000818160ae01526105ac01526000818160e8015261027d015260008181610161015281816102d7015281816103b101526104e50152610a406000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c80637313ee5a1161005b5780637313ee5a146100e357806395805dad1461010a578063d28720af1461011d578063fc0c546a1461015c57600080fd5b806325677e4f1461008d5780632f661946146100a95780634e71d92d146100d05780635311135e146100da575b600080fd5b61009660005481565b6040519081526020015b60405180910390f35b6100967f000000000000000000000000000000000000000000000000000000000000000081565b6100d8610183565b005b61009660015481565b6100967f000000000000000000000000000000000000000000000000000000000000000081565b6100d86101183660046108d7565b610425565b6101447f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100a0565b6101447f000000000000000000000000000000000000000000000000000000000000000081565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03811633146101f05760405162461bcd60e51b815260206004820152600c60248201526b139bdd0818db185a5b585b9d60a21b60448201526064015b60405180910390fd5b60005461022d5760405162461bcd60e51b815260206004820152600b60248201526a139bdd081cdd185c9d195960aa1b60448201526064016101e7565b60005442811061026b5760405162461bcd60e51b8152602060048201526009602482015268546f6f206561726c7960b81b60448201526064016101e7565b600061027782426109ad565b905060007f0000000000000000000000000000000000000000000000000000000000000000600154836102aa919061098e565b6102b4919061096e565b6040516370a0823160e01b81523060048201529091506000906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a082319060240160206040518083038186803b15801561031957600080fd5b505afa15801561032d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061035191906108ef565b90508181106103605781610362565b805b9150816103a45760405162461bcd60e51b815260206004820152601060248201526f4e6f7468696e6720746f20636c61696d60801b60448201526064016101e7565b6103d86001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168684610614565b42600055604080516001600160a01b0387168152602081018490527fd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a910160405180910390a15050505050565b600054156104675760405162461bcd60e51b815260206004820152600f60248201526e105b1c9958591e481cdd185c9d1959608a1b60448201526064016101e7565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633146104ce5760405162461bcd60e51b815260206004820152600c60248201526b139bdd0818db185a5b585b9d60a21b60448201526064016101e7565b6040516370a0823160e01b815230600482015281907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a082319060240160206040518083038186803b15801561052f57600080fd5b505afa158015610543573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061056791906108ef565b146105a75760405162461bcd60e51b815260206004820152601060248201526f125b98dbdc9c9958dd08185b5bdd5b9d60821b60448201526064016101e7565b6105d17f000000000000000000000000000000000000000000000000000000000000000042610956565b6000556001819055604080518281524260208201527f87ac41d581680567c1ef44614ddfa5522f853ea15b877693a35b1e4157cc309d910160405180910390a150565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261066690849061066b565b505050565b60006106c0826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661073d9092919063ffffffff16565b80519091501561066657808060200190518101906106de91906108b7565b6106665760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016101e7565b606061074c8484600085610756565b90505b9392505050565b6060824710156107b75760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016101e7565b843b6108055760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016101e7565b600080866001600160a01b031685876040516108219190610907565b60006040518083038185875af1925050503d806000811461085e576040519150601f19603f3d011682016040523d82523d6000602084013e610863565b606091505b509150915061087382828661087e565b979650505050505050565b6060831561088d57508161074f565b82511561089d5782518084602001fd5b8160405162461bcd60e51b81526004016101e79190610923565b6000602082840312156108c8578081fd5b8151801515811461074f578182fd5b6000602082840312156108e8578081fd5b5035919050565b600060208284031215610900578081fd5b5051919050565b600082516109198184602087016109c4565b9190910192915050565b60208152600082518060208401526109428160408501602087016109c4565b601f01601f19169190910160400192915050565b60008219821115610969576109696109f4565b500190565b60008261098957634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156109a8576109a86109f4565b500290565b6000828210156109bf576109bf6109f4565b500390565b60005b838110156109df5781810151838201526020016109c7565b838111156109ee576000848401525b50505050565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220d2ecfa44469a70e8a6bca731fba53e1351eec43fa5e5e637b43ab36d6d78491564736f6c63430008040033000000000000000000000000255707b70bf90aa112006e1b07b9aea6de0214240000000000000000000000000000000000000000000000000000000003c267000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cc16d636dd05b52ff1d8b9ce09b09bc62b11412b

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100885760003560e01c80637313ee5a1161005b5780637313ee5a146100e357806395805dad1461010a578063d28720af1461011d578063fc0c546a1461015c57600080fd5b806325677e4f1461008d5780632f661946146100a95780634e71d92d146100d05780635311135e146100da575b600080fd5b61009660005481565b6040519081526020015b60405180910390f35b6100967f000000000000000000000000000000000000000000000000000000000000000081565b6100d8610183565b005b61009660015481565b6100967f0000000000000000000000000000000000000000000000000000000003c2670081565b6100d86101183660046108d7565b610425565b6101447f000000000000000000000000cc16d636dd05b52ff1d8b9ce09b09bc62b11412b81565b6040516001600160a01b0390911681526020016100a0565b6101447f000000000000000000000000255707b70bf90aa112006e1b07b9aea6de02142481565b7f000000000000000000000000cc16d636dd05b52ff1d8b9ce09b09bc62b11412b6001600160a01b03811633146101f05760405162461bcd60e51b815260206004820152600c60248201526b139bdd0818db185a5b585b9d60a21b60448201526064015b60405180910390fd5b60005461022d5760405162461bcd60e51b815260206004820152600b60248201526a139bdd081cdd185c9d195960aa1b60448201526064016101e7565b60005442811061026b5760405162461bcd60e51b8152602060048201526009602482015268546f6f206561726c7960b81b60448201526064016101e7565b600061027782426109ad565b905060007f0000000000000000000000000000000000000000000000000000000003c26700600154836102aa919061098e565b6102b4919061096e565b6040516370a0823160e01b81523060048201529091506000906001600160a01b037f000000000000000000000000255707b70bf90aa112006e1b07b9aea6de02142416906370a082319060240160206040518083038186803b15801561031957600080fd5b505afa15801561032d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061035191906108ef565b90508181106103605781610362565b805b9150816103a45760405162461bcd60e51b815260206004820152601060248201526f4e6f7468696e6720746f20636c61696d60801b60448201526064016101e7565b6103d86001600160a01b037f000000000000000000000000255707b70bf90aa112006e1b07b9aea6de021424168684610614565b42600055604080516001600160a01b0387168152602081018490527fd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a910160405180910390a15050505050565b600054156104675760405162461bcd60e51b815260206004820152600f60248201526e105b1c9958591e481cdd185c9d1959608a1b60448201526064016101e7565b7f000000000000000000000000cc16d636dd05b52ff1d8b9ce09b09bc62b11412b6001600160a01b031633146104ce5760405162461bcd60e51b815260206004820152600c60248201526b139bdd0818db185a5b585b9d60a21b60448201526064016101e7565b6040516370a0823160e01b815230600482015281907f000000000000000000000000255707b70bf90aa112006e1b07b9aea6de0214246001600160a01b0316906370a082319060240160206040518083038186803b15801561052f57600080fd5b505afa158015610543573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061056791906108ef565b146105a75760405162461bcd60e51b815260206004820152601060248201526f125b98dbdc9c9958dd08185b5bdd5b9d60821b60448201526064016101e7565b6105d17f000000000000000000000000000000000000000000000000000000000000000042610956565b6000556001819055604080518281524260208201527f87ac41d581680567c1ef44614ddfa5522f853ea15b877693a35b1e4157cc309d910160405180910390a150565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261066690849061066b565b505050565b60006106c0826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661073d9092919063ffffffff16565b80519091501561066657808060200190518101906106de91906108b7565b6106665760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016101e7565b606061074c8484600085610756565b90505b9392505050565b6060824710156107b75760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016101e7565b843b6108055760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016101e7565b600080866001600160a01b031685876040516108219190610907565b60006040518083038185875af1925050503d806000811461085e576040519150601f19603f3d011682016040523d82523d6000602084013e610863565b606091505b509150915061087382828661087e565b979650505050505050565b6060831561088d57508161074f565b82511561089d5782518084602001fd5b8160405162461bcd60e51b81526004016101e79190610923565b6000602082840312156108c8578081fd5b8151801515811461074f578182fd5b6000602082840312156108e8578081fd5b5035919050565b600060208284031215610900578081fd5b5051919050565b600082516109198184602087016109c4565b9190910192915050565b60208152600082518060208401526109428160408501602087016109c4565b601f01601f19169190910160400192915050565b60008219821115610969576109696109f4565b500190565b60008261098957634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156109a8576109a86109f4565b500290565b6000828210156109bf576109bf6109f4565b500390565b60005b838110156109df5781810151838201526020016109c7565b838111156109ee576000848401525b50505050565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220d2ecfa44469a70e8a6bca731fba53e1351eec43fa5e5e637b43ab36d6d78491564736f6c63430008040033

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

000000000000000000000000255707b70bf90aa112006e1b07b9aea6de0214240000000000000000000000000000000000000000000000000000000003c267000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cc16d636dd05b52ff1d8b9ce09b09bc62b11412b

-----Decoded View---------------
Arg [0] : _token (address): 0x255707B70BF90aa112006E1b07B9AeA6De021424
Arg [1] : _vestingPeriod (uint256): 63072000
Arg [2] : _cliffPeriod (uint256): 0
Arg [3] : _claimant (address): 0xcc16d636dD05b52FF1D8B9CE09B09BC62b11412B

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000255707b70bf90aa112006e1b07b9aea6de021424
Arg [1] : 0000000000000000000000000000000000000000000000000000000003c26700
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [3] : 000000000000000000000000cc16d636dd05b52ff1d8b9ce09b09bc62b11412b


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

Txn Hash Block Value Eth2 PubKey Valid
View All Deposits
[ 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.