ETH Price: $2,637.62 (-1.44%)

Contract

0xC5c84c5b07e927178C001B87F3Cdf7ca1B36Ea68
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Claim204520732024-08-04 2:03:1156 days ago1722736991IN
0xC5c84c5b...a1B36Ea68
0 ETH0.000133441.56159164
Claim204483302024-08-03 13:31:2357 days ago1722691883IN
0xC5c84c5b...a1B36Ea68
0 ETH0.000314553.68085362
Claim203865402024-07-25 22:27:2366 days ago1721946443IN
0xC5c84c5b...a1B36Ea68
0 ETH0.000373624.3720643
Claim203500132024-07-20 20:04:2371 days ago1721505863IN
0xC5c84c5b...a1B36Ea68
0 ETH0.00028823.37252906
Claim203494442024-07-20 18:10:2371 days ago1721499023IN
0xC5c84c5b...a1B36Ea68
0 ETH0.000474195.5489817
Claim200659732024-06-11 3:42:35110 days ago1718077355IN
0xC5c84c5b...a1B36Ea68
0 ETH0.0008826710.3288448
Claim200207132024-06-04 20:01:47117 days ago1717531307IN
0xC5c84c5b...a1B36Ea68
0 ETH0.0011768313.77112156
Claim200095232024-06-03 6:31:47118 days ago1717396307IN
0xC5c84c5b...a1B36Ea68
0 ETH0.0012106514.16682705
Claim195005742024-03-23 23:32:23190 days ago1711236743IN
0xC5c84c5b...a1B36Ea68
0 ETH0.0014000920.48212235
Claim194418842024-03-15 17:38:23198 days ago1710524303IN
0xC5c84c5b...a1B36Ea68
0 ETH0.0050821249.55417017
Claim194279342024-03-13 18:31:11200 days ago1710354671IN
0xC5c84c5b...a1B36Ea68
0 ETH0.0049574372.52268004
Claim193816572024-03-07 6:59:23206 days ago1709794763IN
0xC5c84c5b...a1B36Ea68
0 ETH0.005461653.25438425
Claim193570712024-03-03 20:38:11210 days ago1709498291IN
0xC5c84c5b...a1B36Ea68
0 ETH0.0061795960.2552047
Claim193328712024-02-29 11:27:47213 days ago1709206067IN
0xC5c84c5b...a1B36Ea68
0 ETH0.0077423490.59928021
Claim193005792024-02-24 22:58:59218 days ago1708815539IN
0xC5c84c5b...a1B36Ea68
0 ETH0.002682126.15231593
Claim191704782024-02-06 16:47:47236 days ago1707238067IN
0xC5c84c5b...a1B36Ea68
0 ETH0.0049796848.55529599
Claim191372942024-02-02 0:56:11241 days ago1706835371IN
0xC5c84c5b...a1B36Ea68
0 ETH0.0015947823.33025945
Claim189859852024-01-11 20:13:35262 days ago1705004015IN
0xC5c84c5b...a1B36Ea68
0 ETH0.0024435835.74735868
Claim189771382024-01-10 14:27:11263 days ago1704896831IN
0xC5c84c5b...a1B36Ea68
0 ETH0.0044148351.66148979
Claim188848802023-12-28 15:04:11276 days ago1703775851IN
0xC5c84c5b...a1B36Ea68
0 ETH0.0056511455.10245022
Claim187913402023-12-15 11:52:11289 days ago1702641131IN
0xC5c84c5b...a1B36Ea68
0 ETH0.0045481144.34719577
Claim187763502023-12-13 9:26:23291 days ago1702459583IN
0xC5c84c5b...a1B36Ea68
0 ETH0.0032051831.25269684
Claim187631792023-12-11 13:11:35293 days ago1702300295IN
0xC5c84c5b...a1B36Ea68
0 ETH0.0025463424.82863174
Claim187489332023-12-09 13:20:59295 days ago1702128059IN
0xC5c84c5b...a1B36Ea68
0 ETH0.0022879833.4710497
Claim187379792023-12-08 0:30:23297 days ago1701995423IN
0xC5c84c5b...a1B36Ea68
0 ETH0.0030676444.87676576
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PresaleClaim

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 4 : PresaleClaim.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import '@openzeppelin/contracts/token/ERC20/IERC20.sol';
import '@openzeppelin/contracts/access/Ownable.sol';

interface IPresale {
  function buyTokens(address) view external returns (uint256);
}

contract PresaleClaim is Ownable {
  IERC20 kataToken;
  IPresale presale;

  mapping(address => uint256) public claimedTokens;

  uint256 public tgeAmount = 15;
  uint256 public tgeCliffTime = 1645617600;
  uint256 public tgeTime = 1640260800;
  uint256 public duration = 60 * 60 * 24 * 30 * 5;    // 5 months

  constructor(uint256 _tgeAmount, uint256 _tgeTime, uint256 _tgeCliffTime, uint256 _duration) {
    tgeAmount = _tgeAmount;
    tgeTime = _tgeTime;
    tgeCliffTime = _tgeCliffTime;
    duration = _duration;
  }

  function getClaimable(uint256 timestamp) public view returns(uint256) {
    uint256 buyTokens = presale.buyTokens(msg.sender);

    if (timestamp < tgeTime) return 0;
    if (timestamp < tgeCliffTime) {
      uint256 claimable = (buyTokens * tgeAmount) / 100;
      if (claimedTokens[msg.sender] > claimable) {
        return 0;
      }
      claimable = claimable - claimedTokens[msg.sender];
      return claimable;
    }
    if (buyTokens <= 0) return 0;
    if (buyTokens <= claimedTokens[msg.sender]) return 0;

    uint256 timeElapsed = timestamp - tgeCliffTime;

    if (timeElapsed > duration)
        timeElapsed = duration;

    uint256 _tge = 100 - tgeAmount;
    uint256 unlockedPercent = (10**6 * _tge * timeElapsed) / duration;
    unlockedPercent = unlockedPercent + tgeAmount * 10**6;

    uint256 unlockedAmount = (buyTokens * unlockedPercent) / (100 * 10**6);

    if (unlockedAmount < claimedTokens[msg.sender]) {
      return 0;
    }

    if (claimedTokens[msg.sender] > unlockedAmount) {
      return 0;
    } else {
      uint256 claimable = unlockedAmount - claimedTokens[msg.sender];

      return claimable;
    }
  }

  function claim() external {
    uint256 buyTokens = presale.buyTokens(msg.sender);

    require(buyTokens > 0, "No token purchased");
    require(buyTokens > claimedTokens[msg.sender], "You already claimed all");
    require(address(kataToken) != address(0), "Not initialised");

    uint256 claimable = getClaimable(block.timestamp);

    require (claimable > 0, "No token to claim");

    kataToken.transfer(msg.sender, claimable);

    claimedTokens[msg.sender] = claimedTokens[msg.sender] + claimable;
  }

  function setVesting(uint256 _tgeAmount, uint256 _tgeTime, uint256 _tgeCliffTime, uint256 _duration) external onlyOwner {
    tgeAmount = _tgeAmount;
    tgeTime = _tgeTime;
    tgeCliffTime = _tgeCliffTime;
    duration = _duration;
  }

  function setKataToken(address _kata) external onlyOwner {
    kataToken = IERC20(_kata);
  }

  function setPresale(address _presale) external onlyOwner {
    presale = IPresale(_presale);
  }
}

File 2 of 4 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Context.sol)

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) {
        return msg.data;
    }
}

File 3 of 4 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC20/IERC20.sol)

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 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (access/Ownable.sol)

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() {
        _transferOwnership(_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 {
        _transferOwnership(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");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "evmVersion": "istanbul",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"_tgeAmount","type":"uint256"},{"internalType":"uint256","name":"_tgeTime","type":"uint256"},{"internalType":"uint256","name":"_tgeCliffTime","type":"uint256"},{"internalType":"uint256","name":"_duration","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"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimedTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"duration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"getClaimable","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":"_kata","type":"address"}],"name":"setKataToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_presale","type":"address"}],"name":"setPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tgeAmount","type":"uint256"},{"internalType":"uint256","name":"_tgeTime","type":"uint256"},{"internalType":"uint256","name":"_tgeCliffTime","type":"uint256"},{"internalType":"uint256","name":"_duration","type":"uint256"}],"name":"setVesting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tgeAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tgeCliffTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tgeTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600f60045563621621c06005556361c464c060065562c5c1006007553480156200002d57600080fd5b50604051620016e5380380620016e583398181016040528101906200005391906200017c565b62000073620000676200009960201b60201c565b620000a160201b60201c565b83600481905550826006819055508160058190555080600781905550505050506200020c565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000815190506200017681620001f2565b92915050565b600080600080608085870312156200019357600080fd5b6000620001a38782880162000165565b9450506020620001b68782880162000165565b9350506040620001c98782880162000165565b9250506060620001dc8782880162000165565b91505092959194509250565b6000819050919050565b620001fd81620001e8565b81146200020957600080fd5b50565b6114c9806200021c6000396000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c806378878b5d1161008c5780639c7e4a66116100665780639c7e4a66146101b6578063a960c65f146101e6578063d5fcc7b614610216578063f2fde38b14610232576100cf565b806378878b5d1461015e5780637910d9fd1461017c5780638da5cb5b14610198576100cf565b80630fb5a6b4146100d45780631091827a146100f25780632ce71832146101105780633163e3a81461012c5780634e71d92d1461014a578063715018a614610154575b600080fd5b6100dc61024e565b6040516100e99190611267565b60405180910390f35b6100fa610254565b6040516101079190611267565b60405180910390f35b61012a60048036038101906101259190610f3c565b61025a565b005b6101346102f8565b6040516101419190611267565b60405180910390f35b6101526102fe565b005b61015c610695565b005b61016661071d565b6040516101739190611267565b60405180910390f35b61019660048036038101906101919190610e98565b610723565b005b6101a06107e3565b6040516101ad9190611163565b60405180910390f35b6101d060048036038101906101cb9190610eea565b61080c565b6040516101dd9190611267565b60405180910390f35b61020060048036038101906101fb9190610e98565b610ba8565b60405161020d9190611267565b60405180910390f35b610230600480360381019061022b9190610e98565b610bc0565b005b61024c60048036038101906102479190610e98565b610c80565b005b60075481565b60045481565b610262610d78565b73ffffffffffffffffffffffffffffffffffffffff166102806107e3565b73ffffffffffffffffffffffffffffffffffffffff16146102d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102cd90611207565b60405180910390fd5b8360048190555082600681905550816005819055508060078190555050505050565b60065481565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ec8ac4d8336040518263ffffffff1660e01b815260040161035b9190611163565b60206040518083038186803b15801561037357600080fd5b505afa158015610387573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103ab9190610f13565b9050600081116103f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103e790611247565b60405180910390fd5b600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548111610471576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610468906111c7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610503576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104fa90611227565b60405180910390fd5b600061050e4261080c565b905060008111610553576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161054a906111e7565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b81526004016105b092919061117e565b602060405180830381600087803b1580156105ca57600080fd5b505af11580156105de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106029190610ec1565b5080600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461064e9190611293565b600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b61069d610d78565b73ffffffffffffffffffffffffffffffffffffffff166106bb6107e3565b73ffffffffffffffffffffffffffffffffffffffff1614610711576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161070890611207565b60405180910390fd5b61071b6000610d80565b565b60055481565b61072b610d78565b73ffffffffffffffffffffffffffffffffffffffff166107496107e3565b73ffffffffffffffffffffffffffffffffffffffff161461079f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079690611207565b60405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ec8ac4d8336040518263ffffffff1660e01b815260040161086a9190611163565b60206040518083038186803b15801561088257600080fd5b505afa158015610896573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ba9190610f13565b90506006548310156108d0576000915050610ba3565b6005548310156109a15760006064600454836108ec919061131a565b6108f691906112e9565b905080600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054111561094a57600092505050610ba3565b600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054816109959190611374565b90508092505050610ba3565b600081116109b3576000915050610ba3565b600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548111610a03576000915050610ba3565b600060055484610a139190611374565b9050600754811115610a255760075490505b60006004546064610a369190611374565b905060006007548383620f4240610a4d919061131a565b610a57919061131a565b610a6191906112e9565b9050620f4240600454610a74919061131a565b81610a7f9190611293565b905060006305f5e1008286610a94919061131a565b610a9e91906112e9565b9050600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054811015610af557600095505050505050610ba3565b80600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541115610b4a57600095505050505050610ba3565b6000600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205482610b979190611374565b90508096505050505050505b919050565b60036020528060005260406000206000915090505481565b610bc8610d78565b73ffffffffffffffffffffffffffffffffffffffff16610be66107e3565b73ffffffffffffffffffffffffffffffffffffffff1614610c3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3390611207565b60405180910390fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610c88610d78565b73ffffffffffffffffffffffffffffffffffffffff16610ca66107e3565b73ffffffffffffffffffffffffffffffffffffffff1614610cfc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf390611207565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610d6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d63906111a7565b60405180910390fd5b610d7581610d80565b50565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081359050610e538161144e565b92915050565b600081519050610e6881611465565b92915050565b600081359050610e7d8161147c565b92915050565b600081519050610e928161147c565b92915050565b600060208284031215610eaa57600080fd5b6000610eb884828501610e44565b91505092915050565b600060208284031215610ed357600080fd5b6000610ee184828501610e59565b91505092915050565b600060208284031215610efc57600080fd5b6000610f0a84828501610e6e565b91505092915050565b600060208284031215610f2557600080fd5b6000610f3384828501610e83565b91505092915050565b60008060008060808587031215610f5257600080fd5b6000610f6087828801610e6e565b9450506020610f7187828801610e6e565b9350506040610f8287828801610e6e565b9250506060610f9387828801610e6e565b91505092959194509250565b610fa8816113a8565b82525050565b6000610fbb602683611282565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611021601783611282565b91507f596f7520616c726561647920636c61696d656420616c6c0000000000000000006000830152602082019050919050565b6000611061601183611282565b91507f4e6f20746f6b656e20746f20636c61696d0000000000000000000000000000006000830152602082019050919050565b60006110a1602083611282565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b60006110e1600f83611282565b91507f4e6f7420696e697469616c6973656400000000000000000000000000000000006000830152602082019050919050565b6000611121601283611282565b91507f4e6f20746f6b656e2070757263686173656400000000000000000000000000006000830152602082019050919050565b61115d816113e6565b82525050565b60006020820190506111786000830184610f9f565b92915050565b60006040820190506111936000830185610f9f565b6111a06020830184611154565b9392505050565b600060208201905081810360008301526111c081610fae565b9050919050565b600060208201905081810360008301526111e081611014565b9050919050565b6000602082019050818103600083015261120081611054565b9050919050565b6000602082019050818103600083015261122081611094565b9050919050565b60006020820190508181036000830152611240816110d4565b9050919050565b6000602082019050818103600083015261126081611114565b9050919050565b600060208201905061127c6000830184611154565b92915050565b600082825260208201905092915050565b600061129e826113e6565b91506112a9836113e6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156112de576112dd6113f0565b5b828201905092915050565b60006112f4826113e6565b91506112ff836113e6565b92508261130f5761130e61141f565b5b828204905092915050565b6000611325826113e6565b9150611330836113e6565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611369576113686113f0565b5b828202905092915050565b600061137f826113e6565b915061138a836113e6565b92508282101561139d5761139c6113f0565b5b828203905092915050565b60006113b3826113c6565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b611457816113a8565b811461146257600080fd5b50565b61146e816113ba565b811461147957600080fd5b50565b611485816113e6565b811461149057600080fd5b5056fea2646970667358221220c08c696708e27c6ef52a997a6a1fdf4fc718df75c02e32b2a3778bcfe98f702d64736f6c63430008000033000000000000000000000000000000000000000000000000000000000000000f0000000000000000000000000000000000000000000000000000000061c487e800000000000000000000000000000000000000000000000000000000621644e80000000000000000000000000000000000000000000000000000000000c5c100

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100cf5760003560e01c806378878b5d1161008c5780639c7e4a66116100665780639c7e4a66146101b6578063a960c65f146101e6578063d5fcc7b614610216578063f2fde38b14610232576100cf565b806378878b5d1461015e5780637910d9fd1461017c5780638da5cb5b14610198576100cf565b80630fb5a6b4146100d45780631091827a146100f25780632ce71832146101105780633163e3a81461012c5780634e71d92d1461014a578063715018a614610154575b600080fd5b6100dc61024e565b6040516100e99190611267565b60405180910390f35b6100fa610254565b6040516101079190611267565b60405180910390f35b61012a60048036038101906101259190610f3c565b61025a565b005b6101346102f8565b6040516101419190611267565b60405180910390f35b6101526102fe565b005b61015c610695565b005b61016661071d565b6040516101739190611267565b60405180910390f35b61019660048036038101906101919190610e98565b610723565b005b6101a06107e3565b6040516101ad9190611163565b60405180910390f35b6101d060048036038101906101cb9190610eea565b61080c565b6040516101dd9190611267565b60405180910390f35b61020060048036038101906101fb9190610e98565b610ba8565b60405161020d9190611267565b60405180910390f35b610230600480360381019061022b9190610e98565b610bc0565b005b61024c60048036038101906102479190610e98565b610c80565b005b60075481565b60045481565b610262610d78565b73ffffffffffffffffffffffffffffffffffffffff166102806107e3565b73ffffffffffffffffffffffffffffffffffffffff16146102d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102cd90611207565b60405180910390fd5b8360048190555082600681905550816005819055508060078190555050505050565b60065481565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ec8ac4d8336040518263ffffffff1660e01b815260040161035b9190611163565b60206040518083038186803b15801561037357600080fd5b505afa158015610387573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103ab9190610f13565b9050600081116103f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103e790611247565b60405180910390fd5b600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548111610471576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610468906111c7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610503576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104fa90611227565b60405180910390fd5b600061050e4261080c565b905060008111610553576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161054a906111e7565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b81526004016105b092919061117e565b602060405180830381600087803b1580156105ca57600080fd5b505af11580156105de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106029190610ec1565b5080600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461064e9190611293565b600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b61069d610d78565b73ffffffffffffffffffffffffffffffffffffffff166106bb6107e3565b73ffffffffffffffffffffffffffffffffffffffff1614610711576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161070890611207565b60405180910390fd5b61071b6000610d80565b565b60055481565b61072b610d78565b73ffffffffffffffffffffffffffffffffffffffff166107496107e3565b73ffffffffffffffffffffffffffffffffffffffff161461079f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079690611207565b60405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ec8ac4d8336040518263ffffffff1660e01b815260040161086a9190611163565b60206040518083038186803b15801561088257600080fd5b505afa158015610896573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ba9190610f13565b90506006548310156108d0576000915050610ba3565b6005548310156109a15760006064600454836108ec919061131a565b6108f691906112e9565b905080600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054111561094a57600092505050610ba3565b600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054816109959190611374565b90508092505050610ba3565b600081116109b3576000915050610ba3565b600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548111610a03576000915050610ba3565b600060055484610a139190611374565b9050600754811115610a255760075490505b60006004546064610a369190611374565b905060006007548383620f4240610a4d919061131a565b610a57919061131a565b610a6191906112e9565b9050620f4240600454610a74919061131a565b81610a7f9190611293565b905060006305f5e1008286610a94919061131a565b610a9e91906112e9565b9050600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054811015610af557600095505050505050610ba3565b80600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541115610b4a57600095505050505050610ba3565b6000600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205482610b979190611374565b90508096505050505050505b919050565b60036020528060005260406000206000915090505481565b610bc8610d78565b73ffffffffffffffffffffffffffffffffffffffff16610be66107e3565b73ffffffffffffffffffffffffffffffffffffffff1614610c3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3390611207565b60405180910390fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610c88610d78565b73ffffffffffffffffffffffffffffffffffffffff16610ca66107e3565b73ffffffffffffffffffffffffffffffffffffffff1614610cfc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf390611207565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610d6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d63906111a7565b60405180910390fd5b610d7581610d80565b50565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081359050610e538161144e565b92915050565b600081519050610e6881611465565b92915050565b600081359050610e7d8161147c565b92915050565b600081519050610e928161147c565b92915050565b600060208284031215610eaa57600080fd5b6000610eb884828501610e44565b91505092915050565b600060208284031215610ed357600080fd5b6000610ee184828501610e59565b91505092915050565b600060208284031215610efc57600080fd5b6000610f0a84828501610e6e565b91505092915050565b600060208284031215610f2557600080fd5b6000610f3384828501610e83565b91505092915050565b60008060008060808587031215610f5257600080fd5b6000610f6087828801610e6e565b9450506020610f7187828801610e6e565b9350506040610f8287828801610e6e565b9250506060610f9387828801610e6e565b91505092959194509250565b610fa8816113a8565b82525050565b6000610fbb602683611282565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611021601783611282565b91507f596f7520616c726561647920636c61696d656420616c6c0000000000000000006000830152602082019050919050565b6000611061601183611282565b91507f4e6f20746f6b656e20746f20636c61696d0000000000000000000000000000006000830152602082019050919050565b60006110a1602083611282565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b60006110e1600f83611282565b91507f4e6f7420696e697469616c6973656400000000000000000000000000000000006000830152602082019050919050565b6000611121601283611282565b91507f4e6f20746f6b656e2070757263686173656400000000000000000000000000006000830152602082019050919050565b61115d816113e6565b82525050565b60006020820190506111786000830184610f9f565b92915050565b60006040820190506111936000830185610f9f565b6111a06020830184611154565b9392505050565b600060208201905081810360008301526111c081610fae565b9050919050565b600060208201905081810360008301526111e081611014565b9050919050565b6000602082019050818103600083015261120081611054565b9050919050565b6000602082019050818103600083015261122081611094565b9050919050565b60006020820190508181036000830152611240816110d4565b9050919050565b6000602082019050818103600083015261126081611114565b9050919050565b600060208201905061127c6000830184611154565b92915050565b600082825260208201905092915050565b600061129e826113e6565b91506112a9836113e6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156112de576112dd6113f0565b5b828201905092915050565b60006112f4826113e6565b91506112ff836113e6565b92508261130f5761130e61141f565b5b828204905092915050565b6000611325826113e6565b9150611330836113e6565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611369576113686113f0565b5b828202905092915050565b600061137f826113e6565b915061138a836113e6565b92508282101561139d5761139c6113f0565b5b828203905092915050565b60006113b3826113c6565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b611457816113a8565b811461146257600080fd5b50565b61146e816113ba565b811461147957600080fd5b50565b611485816113e6565b811461149057600080fd5b5056fea2646970667358221220c08c696708e27c6ef52a997a6a1fdf4fc718df75c02e32b2a3778bcfe98f702d64736f6c63430008000033

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

000000000000000000000000000000000000000000000000000000000000000f0000000000000000000000000000000000000000000000000000000061c487e800000000000000000000000000000000000000000000000000000000621644e80000000000000000000000000000000000000000000000000000000000c5c100

-----Decoded View---------------
Arg [0] : _tgeAmount (uint256): 15
Arg [1] : _tgeTime (uint256): 1640269800
Arg [2] : _tgeCliffTime (uint256): 1645626600
Arg [3] : _duration (uint256): 12960000

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [1] : 0000000000000000000000000000000000000000000000000000000061c487e8
Arg [2] : 00000000000000000000000000000000000000000000000000000000621644e8
Arg [3] : 0000000000000000000000000000000000000000000000000000000000c5c100


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.