ETH Price: $3,604.99 (+4.60%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer155835202022-09-21 18:26:35835 days ago1663784795IN
0x677a3f5d...3F7e2f6bb
0 ETH0.001503728.46263129
Transfer134634782021-10-21 21:42:061170 days ago1634852526IN
0x677a3f5d...3F7e2f6bb
0 ETH0.0036172768.4688504
Transfer105650402020-07-31 3:58:061617 days ago1596167886IN
0x677a3f5d...3F7e2f6bb
0 ETH0.0036331765
Transfer105595822020-07-30 7:16:191618 days ago1596093379IN
0x677a3f5d...3F7e2f6bb
0 ETH0.0038820794.9
Transfer105595392020-07-30 7:09:261618 days ago1596092966IN
0x677a3f5d...3F7e2f6bb
0 ETH0.00409358100.1
Transfer105494072020-07-28 17:34:391620 days ago1595957679IN
0x677a3f5d...3F7e2f6bb
0 ETH0.0029043971.00000145
Transfer104819932020-07-18 7:05:561630 days ago1595055956IN
0x677a3f5d...3F7e2f6bb
0 ETH0.0030478454.528045
Transfer103799532020-07-02 12:20:491646 days ago1593692449IN
0x677a3f5d...3F7e2f6bb
0 ETH0.0011409144.1
Transfer103189882020-06-23 1:09:301655 days ago1592874570IN
0x677a3f5d...3F7e2f6bb
0 ETH0.0009071635
Transfer102885482020-06-18 8:07:321660 days ago1592467652IN
0x677a3f5d...3F7e2f6bb
0 ETH0.0012599330.8
Transfer102885482020-06-18 8:07:321660 days ago1592467652IN
0x677a3f5d...3F7e2f6bb
0 ETH0.0011249427.5
Transfer102049252020-06-05 9:27:431673 days ago1591349263IN
0x677a3f5d...3F7e2f6bb
0 ETH0.0016221939.65572664
Transfer102029792020-06-05 2:19:171673 days ago1591323557IN
0x677a3f5d...3F7e2f6bb
0 ETH0.0023480942
Transfer100925482020-05-18 22:03:181691 days ago1589839398IN
0x677a3f5d...3F7e2f6bb
0 ETH0.0005396513.20000014
Transfer100549412020-05-13 1:56:501696 days ago1589335010IN
0x677a3f5d...3F7e2f6bb
0 ETH0.0005181420
Transfer100549332020-05-13 1:55:381696 days ago1589334938IN
0x677a3f5d...3F7e2f6bb
0 ETH0.0008855615.84000015
Transfer100326562020-05-09 14:44:231700 days ago1589035463IN
0x677a3f5d...3F7e2f6bb
0 ETH0.0005181420
Transfer100326372020-05-09 14:39:571700 days ago1589035197IN
0x677a3f5d...3F7e2f6bb
0 ETH0.0005849714.30000023
Transfer99937432020-05-03 14:29:001706 days ago1588516140IN
0x677a3f5d...3F7e2f6bb
0 ETH0.0008183820
Transfer99908072020-05-03 3:29:131706 days ago1588476553IN
0x677a3f5d...3F7e2f6bb
0 ETH0.0008183820
Transfer99357792020-04-24 14:34:421715 days ago1587738882IN
0x677a3f5d...3F7e2f6bb
0 ETH0.0002590710
Transfer99357382020-04-24 14:24:261715 days ago1587738266IN
0x677a3f5d...3F7e2f6bb
0 ETH0.0007267913
Transfer99357242020-04-24 14:20:071715 days ago1587738007IN
0x677a3f5d...3F7e2f6bb
0 ETH0.0002589510
Transfer99357142020-04-24 14:17:351715 days ago1587737855IN
0x677a3f5d...3F7e2f6bb
0 ETH0.0006148411
Transfer99074742020-04-20 5:33:561719 days ago1587360836IN
0x677a3f5d...3F7e2f6bb
0 ETH0.0011174220
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:
KocToken

Compiler Version
v0.4.23+commit.124ca40d

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2018-11-16
*/

pragma solidity ^0.4.23;
/**
 * @title ERC20Basic
 * @dev Simpler version of ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/issues/179
 */
contract ERC20Basic {
  function totalSupply() public view returns (uint256);
  function balanceOf(address who) public view returns (uint256);
  function transfer(address to, uint256 value) public returns (bool);
  event Transfer(address indexed from, address indexed to, uint256 value);
}





/**
 * @title ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/issues/20
 */
contract ERC20 is ERC20Basic {

  function allowance(address owner, address spender)
    public view returns (uint256);

  function transferFrom(address from, address to, uint256 value)
    public returns (bool);


  function approve(address spender, uint256 value) public returns (bool);
  event Approval(
    address indexed owner,
    address indexed spender,
    uint256 value
  );
}





/**
 * @title SafeMath
 * @dev Math operations with safety checks that revert on error
 */
library SafeMath {

  /**
  * @dev Multiplies two numbers, reverts on overflow.
  */
  function mul(uint256 a, uint256 b) internal pure returns (uint256) {
    // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
    // benefit is lost if 'b' is also tested.
    // See: https://github.com/OpenZeppelin/openzeppelin-solidity/pull/522
    if (a == 0) {
      return 0;
    }

    uint256 c = a * b;
    require(c / a == b);

    return c;
  }

  /**
  * @dev Integer division of two numbers truncating the quotient, reverts on division by zero.
  */
  function div(uint256 a, uint256 b) internal pure returns (uint256) {
    require(b > 0); // Solidity only automatically asserts when dividing by 0
    uint256 c = a / b;
    // assert(a == b * c + a % b); // There is no case in which this doesn't hold

    return c;
  }

  /**
  * @dev Subtracts two numbers, reverts on overflow (i.e. if subtrahend is greater than minuend).
  */
  function sub(uint256 a, uint256 b) internal pure returns (uint256) {
    require(b <= a);
    uint256 c = a - b;

    return c;
  }

  /**
  * @dev Adds two numbers, reverts on overflow.
  */
  function add(uint256 a, uint256 b) internal pure returns (uint256) {
    uint256 c = a + b;
    require(c >= a);

    return c;
  }

  /**
  * @dev Divides two numbers and returns the remainder (unsigned integer modulo),
  * reverts when dividing by zero.
  */
  function mod(uint256 a, uint256 b) internal pure returns (uint256) {
    require(b != 0);
    return a % b;
  }
}


/**
 * @title Basic token
 * @dev Basic version of StandardToken, with no allowances.
 */
contract BasicToken is ERC20Basic {
  using SafeMath for uint256;

  mapping(address => uint256) balances;

  uint256 totalSupply_;

  /**
  * @dev Total number of tokens in existence
  */
  function totalSupply() public view returns (uint256) {
    return totalSupply_;
  }


  /**
  * @dev Gets the balance of the specified address.
  * @param _owner The address to query the the balance of.
  * @return An uint256 representing the amount owned by the passed address.
  */
  function balanceOf(address _owner) public view returns (uint256) {
    return balances[_owner];
  }

}


/**
 * @title Standard ERC20 token
 *
 * @dev Implementation of the basic standard token.
 * @dev https://github.com/ethereum/EIPs/issues/20
 * @dev Based on code by FirstBlood: https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol
 */
contract StandardToken is ERC20, BasicToken {

  mapping (address => mapping (address => uint256)) internal allowed;

  address master;

  bool public paused;


  modifier isMaster {
      require(msg.sender == master);
      _;
  }

  modifier isPause {
   require(paused == true);
   _;
 }

  modifier isNotPause {
   require(paused == false);
   _;
  }




  /**
   * @dev Function to check the amount of tokens that an owner allowed to a spender.
   * @param _owner address The address which owns the funds.
   * @param _spender address The address which will spend the funds.
   * @return A uint256 specifying the amount of tokens still available for the spender.
   */
  function allowance(
    address _owner,
    address _spender
   )
    public
    view
    returns (uint256)
  {
    return allowed[_owner][_spender];
  }

  /**
   * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender.
   *
   * 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
   * @param _spender The address which will spend the funds.
   * @param _value The amount of tokens to be spent.
   */
  function approve(address _spender, uint256 _value) public isNotPause returns (bool) {
    require(_spender != address(0));
    allowed[msg.sender][_spender] = _value;
    emit Approval(msg.sender, _spender, _value);
    return true;
  }

  /**
   * @dev Increase the amount of tokens that an owner allowed to a spender.
   *
   * approve should be called when allowed[_spender] == 0. To increment
   * allowed value is better to use this function to avoid 2 calls (and wait until
   * the first transaction is mined)
   * From MonolithDAO Token.sol
   * @param _spender The address which will spend the funds.
   * @param _addedValue The amount of tokens to increase the allowance by.
   */
  function increaseApproval(
    address _spender,
    uint _addedValue
  )
    public isNotPause
    returns (bool)
  {
    require(_spender != address(0));
    allowed[msg.sender][_spender] = (
      allowed[msg.sender][_spender].add(_addedValue));
    emit Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
    return true;
  }

  /**
   * @dev Decrease the amount of tokens that an owner allowed to a spender.
   *
   * approve should be called when allowed[_spender] == 0. To decrement
   * allowed value is better to use this function to avoid 2 calls (and wait until
   * the first transaction is mined)
   * From MonolithDAO Token.sol
   * @param _spender The address which will spend the funds.
   * @param _subtractedValue The amount of tokens to decrease the allowance by.
   */
  function decreaseApproval(
    address _spender,
    uint _subtractedValue
  )
    public isNotPause
    returns (bool)
  {
    require(_spender != address(0));
    uint oldValue = allowed[msg.sender][_spender];
    if (_subtractedValue > oldValue) {
      allowed[msg.sender][_spender] = 0;
    } else {
      allowed[msg.sender][_spender] = oldValue.sub(_subtractedValue);
    }
    emit Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
    return true;
  }

}


contract KocToken is StandardToken {

  string public constant name = "King Of Catering (Entertainment) ";
  string public constant symbol = "KOC";
  uint8 public constant decimals = 18;

  uint256 public constant INITIAL_SUPPLY = 1000000000 * (10 ** uint256(decimals));
  address coinbase;

  address private constant project_foundation_address     = 0x5715f21002de7ac8097593290591907c459295c5;
  uint8   private constant project_foundation_percent     = 10;
  uint256 private constant project_foundation_starttime   = 1604160000;
  uint256 private constant project_foundation_interval    = 2592000;
  uint256 private constant project_foundation_periods     = 20;

  address private constant technical_team_address         = 0x3ad3106970609844652205a4a8fc68e6aa590eb1;
  uint8   private constant technical_team_percent         = 10;
  uint256 private constant technical_team_starttime       = 1635696000;
  uint256 private constant technical_team_interval        = 2592000;
  uint256 private constant technical_team_periods         = 20;

  address private constant community_reward_address       = 0x1a35941a5a52f0d212b67b87af51daa23a9fb7fc;
  uint8   private constant community_reward_percent       = 30;

  address private constant community_operation_address    = 0x334eb99a16bb1bd5a8ecc6c2ce44fb270f4bf451;
  uint8   private constant community_operation_percent    = 30;

  address private constant user_mining_address            = 0x939302d1eab4009d7cee5d410a4f61a5f2864d7a;
  uint8   private constant user_mining_percent            = 10;

  address private constant cornerstone_wheel_address      = 0xbe45decacf12248f4459f5e0295de12993b34b15;
  uint8   private constant cornerstone_wheel_percent      = 5;

  address private constant private_wheel_address          = 0xf35da84e81432c86e9254206c12cf6d4a6221384;
  uint8   private constant private_wheel_percent          = 5;



  struct Vesting {
    uint256 startTime;
    uint256 initReleaseAmount;
    uint256 amount;
    uint256 interval;
    uint256 periods;
    uint256 withdrawed;
  }

  mapping (address => Vesting[]) vestings;

  event AssetLock(address indexed to,uint256 startTime,uint256 initReleaseAmount,uint256 amount,uint256 interval,uint256 periods);
  /**
  * @dev Constructor that gives msg.sender all of existing tokens.
  */
  constructor(address _master) public {
   require(_master != address(0));
   totalSupply_ = INITIAL_SUPPLY;
   master = _master;
   paused = false;
   coinbase = msg.sender;
   balances[coinbase] = INITIAL_SUPPLY;

   uint256 balance_technical = INITIAL_SUPPLY * technical_team_percent / 100;
   assetLock(technical_team_address,technical_team_starttime,0,balance_technical,technical_team_interval,technical_team_periods);

   uint256 balance_project = INITIAL_SUPPLY * project_foundation_percent / 100;
   assetLock(project_foundation_address,project_foundation_starttime,0,balance_project,project_foundation_interval,project_foundation_periods);

   uint256 balance_community_reward = INITIAL_SUPPLY * community_reward_percent / 100;
   balances[community_reward_address] = balance_community_reward;
   balances[coinbase] =  balances[coinbase].sub(balance_community_reward);

   uint256 balance_community_operation = INITIAL_SUPPLY * community_operation_percent / 100;
   balances[community_operation_address] = balance_community_operation;
   balances[coinbase] =  balances[coinbase].sub(balance_community_operation);

   uint256 balance_user_mining = INITIAL_SUPPLY * user_mining_percent / 100;
   balances[user_mining_address] = balance_user_mining;
   balances[coinbase] =  balances[coinbase].sub(balance_user_mining);

   uint256 balance_cornerstone_wheel = INITIAL_SUPPLY * cornerstone_wheel_percent / 100;
   balances[cornerstone_wheel_address] = balance_cornerstone_wheel;
   balances[coinbase] =  balances[coinbase].sub(balance_cornerstone_wheel);

   uint256 balance_private_wheel = INITIAL_SUPPLY * private_wheel_percent / 100;
   balances[private_wheel_address] = balance_private_wheel;
   balances[coinbase] =  balances[coinbase].sub(balance_private_wheel);


 }


  function assetLock(address _to,uint256 _startTime,uint256 _initReleaseAmount,uint256 _amount,uint256 _interval,uint256 _periods) internal {
      require(balances[coinbase] >= _amount);
      require(_initReleaseAmount <= _amount);
      vestings[_to].push(Vesting(_startTime, _initReleaseAmount, _amount, _interval, _periods, 0));
      balances[coinbase] = balances[coinbase].sub(_amount);
      emit AssetLock(_to,_startTime,_initReleaseAmount,_amount,_interval,_periods);
 }

  function batchTransfer(address[] _to, uint256[] _amount) public isNotPause returns (bool) {
     for (uint i = 0; i < _to.length; i++) {
       getVesting(msg.sender);
       transfer(_to[i] , _amount[i]);
     }
     return true;
   }

   /**
   * @dev Transfer token for a specified address
   * @param _to The address to transfer to.
   * @param _value The amount to be transferred.
   */
   function transfer(address _to, uint256 _value) public isNotPause returns (bool) {
     require(_to != address(0));
     uint256 remain = availableBalance(msg.sender);
     require(_value <= remain);
     getVesting(msg.sender);
     balances[msg.sender] = balances[msg.sender].sub(_value);
     balances[_to] = balances[_to].add(_value);
     emit Transfer(msg.sender, _to, _value);
     return true;
   }


   /**
    * @dev Transfer tokens from one address to another
    * @param _from address The address which you want to send tokens from
    * @param _to address The address which you want to transfer to
    * @param _value uint256 the amount of tokens to be transferred
    */
   function transferFrom(
     address _from,
     address _to,
     uint256 _value
   )
     public isNotPause
     returns (bool)
   {
     require(_to != address(0));
     require(_from != address(0));
     require(_value <= allowed[_from][msg.sender]);
     uint256 remain = availableBalance(_from);
     require(_value <= remain);
     getVesting(_from);
     balances[_from] = balances[_from].sub(_value);
     balances[_to] = balances[_to].add(_value);
     allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value);
     emit Transfer(_from, _to, _value);
     return true;
   }


   function setPause() public isMaster isNotPause{
     paused = true;
   }

   function setResume() public isMaster isPause{
     paused = false;
   }

   function pauseStatus() public view isMaster returns (bool){
     return paused;
   }


   function vestingBalance(address _owner) internal view returns (uint256) {
     uint256 sum = 0;
      for(uint i = 0 ;i < vestings[_owner].length;i++){
        sum = sum.add(vestings[_owner][i].amount.sub(vestings[_owner][i].withdrawed));
      }
      return sum;
   }

  /*
  Current available balance
  */
   function availableBalance(address _owner) public view returns (uint256) {
     uint256 sum = 0;
      for(uint i = 0 ;i < vestings[_owner].length;i++){
        Vesting memory vs = vestings[_owner][i];
        uint256 release = vestingRelease(vs.startTime,vs.initReleaseAmount, vs.amount, vs.interval, vs.periods);
        uint256 keep = release.sub(vs.withdrawed);
        if(keep >= 0){
          sum = sum.add(keep);
        }
      }
      return sum.add(balances[_owner]);
   }

   /*
   Get all the assets of the user
   */
   function allBalance(address _owner)public view returns (uint256){
     uint256 allbalance = vestingBalance(_owner);
     return allbalance.add(balances[_owner]);
   }
    /*
    Calculate the current time release
    */
   function vestingRelease(uint256 _startTime,uint256 _initReleaseAmount,uint256 _amount,uint256 _interval,uint256 _periods) public view returns (uint256) {
    return vestingReleaseFunc(now,_startTime,_initReleaseAmount,_amount,_interval,_periods);
   }

   /*
   Calculate the current time release
   */
  function vestingReleaseFunc(uint256 _endTime,uint256 _startTime,uint256 _initReleaseAmount,uint256 _amount,uint256 _interval,uint256 _periods) public pure  returns (uint256) {
    if (_endTime < _startTime) {
      return 0;
    }
    uint256 last = _endTime.sub(_startTime);
    uint256 allTime =  _periods.mul(_interval);
    if (last >= allTime) {
      return _amount;
    }
    uint256 eachPeriodAmount = _amount.sub(_initReleaseAmount).div(_periods);
    uint256 lastTime = last.div(_interval);
    uint256 vestingAmount = eachPeriodAmount.mul(lastTime).add(_initReleaseAmount);
    return vestingAmount;
  }



   /*
   Get vesting funds
   */
   function getVesting(address _to) internal {
     uint256 sum = 0;
     for(uint i=0;i< vestings[_to].length;i++){
       if(vestings[_to][i].amount == vestings[_to][i].withdrawed){
         continue;
       }else{
         Vesting  memory vs = vestings[_to][i];
         uint256 release = vestingRelease(vs.startTime,vs.initReleaseAmount, vs.amount, vs.interval, vs.periods);
         uint256 keep = release.sub(vs.withdrawed);
         if(keep >= 0){
           vestings[_to][i].withdrawed = release;
           sum = sum.add(keep);
         }
       }
     }
     if(sum > 0 ){
       balances[_to] = balances[_to].add(sum);
     }
   }

   /**
   * @dev Gets the balance of the specified address.
   * @param _owner The address to query the the balance of.
   * @return An uint256 representing the amount owned by the passed address.
   */
   function balanceOf(address _owner) public view returns (uint256) {
     return availableBalance(_owner);
   }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"INITIAL_SUPPLY","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_endTime","type":"uint256"},{"name":"_startTime","type":"uint256"},{"name":"_initReleaseAmount","type":"uint256"},{"name":"_amount","type":"uint256"},{"name":"_interval","type":"uint256"},{"name":"_periods","type":"uint256"}],"name":"vestingReleaseFunc","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"pauseStatus","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_subtractedValue","type":"uint256"}],"name":"decreaseApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address[]"},{"name":"_amount","type":"uint256[]"}],"name":"batchTransfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"availableBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"allBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_startTime","type":"uint256"},{"name":"_initReleaseAmount","type":"uint256"},{"name":"_amount","type":"uint256"},{"name":"_interval","type":"uint256"},{"name":"_periods","type":"uint256"}],"name":"vestingRelease","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"setResume","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"setPause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_addedValue","type":"uint256"}],"name":"increaseApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_master","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"startTime","type":"uint256"},{"indexed":false,"name":"initReleaseAmount","type":"uint256"},{"indexed":false,"name":"amount","type":"uint256"},{"indexed":false,"name":"interval","type":"uint256"},{"indexed":false,"name":"periods","type":"uint256"}],"name":"AssetLock","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"}]

60806040523480156200001157600080fd5b506040516020806200177b83398101604052516000808080808080600160a060020a03881615156200004257600080fd5b6b033b2e3c9fd0803ce8000000600181905560038054600160a060020a0319908116600160a060020a038c81169190911760a060020a60ff0219169092556004805490911633831617908190551660009081526020819052604090205560646b204fce5e3e25026110000000049650620000e7733ad3106970609844652205a4a8fc68e6aa590eb163617ebd8060008a62278d006014640100000000620003a9810204565b6a52b7d2dcc80cd2e400000095506200012b735715f21002de7ac8097593290591907c459295c5635f9d8a0060008962278d006014640100000000620003a9810204565b600060208190526af8277896582678ac0000007f76410549ee73e2377dc8798f00e226766588be63349e476ffcb7f1a9db8261b2819055600454600160a060020a031682526040909120549095506200019390866401000000006200050c8102620010ad1704565b60048054600160a060020a03908116600090815260208190526040808220949094556af8277896582678ac0000007f5f461b73631e640e6f74bb95a33a72553156e4bb56a8c96afc95fd0ecf6b013e8190559254909116815291909120549094506200020e90856401000000006200050c8102620010ad1704565b60048054600160a060020a03908116600090815260208190526040808220949094556a52b7d2dcc80cd2e40000007ff95ed983ca868258d02db74e1256e468aae40a8208a8d68e6a2ee0da2a14b1c78190559254909116815291909120549093506200028990846401000000006200050c8102620010ad1704565b60048054600160a060020a03908116600090815260208190526040808220949094556a295be96e640669720000007f777e8e0a268ad17446a04303065791c0821955d700fd2bde4c411dde447fbe958190559254909116815291909120549092506200030490836401000000006200050c8102620010ad1704565b60048054600160a060020a03908116600090815260208190526040808220949094556a295be96e640669720000007ffd09f5d1d86ebe958278f3d159cfa29ae0335a464da9b749571a0ea9afb6d5a88190559254909116815291909120549091506200037f90826401000000006200050c8102620010ad1704565b600454600160a060020a031660009081526020819052604090205550620005249650505050505050565b600454600160a060020a0316600090815260208190526040902054831115620003d157600080fd5b82841115620003df57600080fd5b600160a060020a038087166000908152600560208181526040808420815160c0810183528b81528084018b81528184018b8152606083018b8152608084018b815260a085018a8152865460018181018955978c52898c2096516006909102909601958655935195850195909555905160028401555160038301559151600480830191909155915194019390935591549093168252918190522054620004939084640100000000620010ad6200050c82021704565b600454600160a060020a0390811660009081526020818152604091829020939093558051888152928301879052828101869052606083018590526080830184905251908816917f60a77863cf24dbe9e98914a469f90335910a0879da17657367085ba7b3502c85919081900360a00190a2505050505050565b600080838311156200051d57600080fd5b5050900390565b61124780620005346000396000f30060806040526004361061011c5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610121578063095ea7b3146101ab57806318160ddd146101e357806323b872dd1461020a5780632ff2e9dc14610234578063313ce567146102495780634138e7e114610274578063466916ca1461029b5780635c975abb146102b057806366188463146102c557806370a08231146102e957806388d695b21461030a57806395d89b4114610398578063a0821be3146103ad578063a1813fac146103ce578063a9059cbb146103ef578063c976ffbc14610413578063d33ecfee14610437578063d431b1ac1461044e578063d73dd62314610463578063dd62ed3e14610487575b600080fd5b34801561012d57600080fd5b506101366104ae565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610170578181015183820152602001610158565b50505050905090810190601f16801561019d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101b757600080fd5b506101cf600160a060020a036004351660243561050e565b604080519115158252519081900360200190f35b3480156101ef57600080fd5b506101f86105a3565b60408051918252519081900360200190f35b34801561021657600080fd5b506101cf600160a060020a03600435811690602435166044356105a9565b34801561024057600080fd5b506101f8610755565b34801561025557600080fd5b5061025e610765565b6040805160ff9092168252519081900360200190f35b34801561028057600080fd5b506101f860043560243560443560643560843560a43561076a565b3480156102a757600080fd5b506101cf610820565b3480156102bc57600080fd5b506101cf61084f565b3480156102d157600080fd5b506101cf600160a060020a036004351660243561085f565b3480156102f557600080fd5b506101f8600160a060020a036004351661098a565b34801561031657600080fd5b50604080516020600480358082013583810280860185019096528085526101cf95369593946024949385019291829185019084908082843750506040805187358901803560208181028481018201909552818452989b9a99890198929750908201955093508392508501908490808284375094975061099b9650505050505050565b3480156103a457600080fd5b50610136610a18565b3480156103b957600080fd5b506101f8600160a060020a0360043516610a4f565b3480156103da57600080fd5b506101f8600160a060020a0360043516610b8e565b3480156103fb57600080fd5b506101cf600160a060020a0360043516602435610bce565b34801561041f57600080fd5b506101f8600435602435604435606435608435610cde565b34801561044357600080fd5b5061044c610cf8565b005b34801561045a57600080fd5b5061044c610d4e565b34801561046f57600080fd5b506101cf600160a060020a0360043516602435610da6565b34801561049357600080fd5b506101f8600160a060020a0360043581169060243516610e75565b606060405190810160405280602181526020017f4b696e67204f66204361746572696e672028456e7465727461696e6d656e742981526020017f200000000000000000000000000000000000000000000000000000000000000081525081565b60035460009060a060020a900460ff161561052857600080fd5b600160a060020a038316151561053d57600080fd5b600160a060020a03338116600081815260026020908152604080832094881680845294825291829020869055815186815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a350600192915050565b60015490565b600354600090819060a060020a900460ff16156105c557600080fd5b600160a060020a03841615156105da57600080fd5b600160a060020a03851615156105ef57600080fd5b600160a060020a038086166000908152600260209081526040808320339094168352929052205483111561062257600080fd5b61062b85610a4f565b90508083111561063a57600080fd5b61064385610ea0565b600160a060020a03851660009081526020819052604090205461066c908463ffffffff6110ad16565b600160a060020a0380871660009081526020819052604080822093909355908616815220546106a1908463ffffffff6110c416565b600160a060020a03808616600090815260208181526040808320949094558883168252600281528382203390931682529190915220546106e7908463ffffffff6110ad16565b600160a060020a038087166000818152600260209081526040808320338616845282529182902094909455805187815290519288169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3506001949350505050565b6b033b2e3c9fd0803ce800000081565b601281565b6000806000806000808a8c10156107845760009550610811565b6107948c8c63ffffffff6110ad16565b94506107a6878963ffffffff6110d616565b93508385106107b757889550610811565b6107d7876107cb8b8d63ffffffff6110ad16565b9063ffffffff61110416565b92506107e9858963ffffffff61110416565b915061080b8a6107ff858563ffffffff6110d616565b9063ffffffff6110c416565b90508095505b50505050509695505050505050565b60035460009033600160a060020a0390811691161461083e57600080fd5b5060035460a060020a900460ff1690565b60035460a060020a900460ff1681565b600354600090819060a060020a900460ff161561087b57600080fd5b600160a060020a038416151561089057600080fd5b50600160a060020a03338116600090815260026020908152604080832093871683529290522054808311156108ec57600160a060020a033381166000908152600260209081526040808320938816835292905290812055610923565b6108fc818463ffffffff6110ad16565b600160a060020a033381166000908152600260209081526040808320938916835292905220555b600160a060020a0333811660008181526002602090815260408083209489168084529482529182902054825190815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3600191505b5092915050565b600061099582610a4f565b92915050565b600354600090819060a060020a900460ff16156109b757600080fd5b5060005b8351811015610a0e576109cd33610ea0565b610a0584828151811015156109de57fe5b9060200190602002015184838151811015156109f657fe5b90602001906020020151610bce565b506001016109bb565b5060019392505050565b60408051808201909152600381527f4b4f430000000000000000000000000000000000000000000000000000000000602082015281565b6000806000610a5c6111e4565b60008060009450600093505b600160a060020a038716600090815260056020526040902054841015610b5957600160a060020a0387166000908152600560205260409020805485908110610aac57fe5b60009182526020918290206040805160c081018252600690930290910180548084526001820154948401859052600282015492840183905260038201546060850181905260048301546080860181905260059093015460a0860152939750610b18949093909291610cde565b9150610b318360a00151836110ad90919063ffffffff16565b905060008110610b4e57610b4b858263ffffffff6110c416565b94505b600190930192610a68565b600160a060020a038716600090815260208190526040902054610b8390869063ffffffff6110c416565b979650505050505050565b600080610b9a83611127565b600160a060020a038416600090815260208190526040902054909150610bc790829063ffffffff6110c416565b9392505050565b600354600090819060a060020a900460ff1615610bea57600080fd5b600160a060020a0384161515610bff57600080fd5b610c0833610a4f565b905080831115610c1757600080fd5b610c2033610ea0565b600160a060020a033316600090815260208190526040902054610c49908463ffffffff6110ad16565b600160a060020a033381166000908152602081905260408082209390935590861681522054610c7e908463ffffffff6110c416565b600160a060020a03808616600081815260208181526040918290209490945580518781529051919333909316927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060019392505050565b6000610cee42878787878761076a565b9695505050505050565b60035433600160a060020a03908116911614610d1357600080fd5b60035460a060020a900460ff161515600114610d2e57600080fd5b6003805474ff000000000000000000000000000000000000000019169055565b60035433600160a060020a03908116911614610d6957600080fd5b60035460a060020a900460ff1615610d8057600080fd5b6003805474ff0000000000000000000000000000000000000000191660a060020a179055565b60035460009060a060020a900460ff1615610dc057600080fd5b600160a060020a0383161515610dd557600080fd5b600160a060020a03338116600090815260026020908152604080832093871683529290522054610e0b908363ffffffff6110c416565b600160a060020a0333811660008181526002602090815260408083209489168084529482529182902085905581519485529051929391927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a350600192915050565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b600080610eab6111e4565b60008060009450600093505b600160a060020a03861660009081526005602052604090205484101561105957600160a060020a0386166000908152600560205260409020805485908110610efb57fe5b600091825260208083206005600690930201820154600160a060020a038a1684529190526040909120805486908110610f3057fe5b9060005260206000209060060201600201541415610f4d5761104e565b600160a060020a0386166000908152600560205260409020805485908110610f7157fe5b60009182526020918290206040805160c081018252600690930290910180548084526001820154948401859052600282015492840183905260038201546060850181905260048301546080860181905260059093015460a0860152939750610fdd949093909291610cde565b9150610ff68360a00151836110ad90919063ffffffff16565b90506000811061104e57600160a060020a038616600090815260056020526040902080548391908690811061102757fe5b600091825260209091206005600690920201015561104b858263ffffffff6110c416565b94505b600190930192610eb7565b60008511156110a557600160a060020a03861660009081526020819052604090205461108b908663ffffffff6110c416565b600160a060020a0387166000908152602081905260409020555b505050505050565b600080838311156110bd57600080fd5b5050900390565b600082820183811015610bc757600080fd5b6000808315156110e95760009150610983565b508282028284828115156110f957fe5b0414610bc757600080fd5b60008080831161111357600080fd5b828481151561111e57fe5b04949350505050565b600080805b600160a060020a03841660009081526005602052604090205481101561098357600160a060020a038416600090815260056020526040902080546111da916111cd918490811061117857fe5b600091825260208083206005600690930201820154600160a060020a038a16845291905260409091208054859081106111ad57fe5b9060005260206000209060060201600201546110ad90919063ffffffff16565b839063ffffffff6110c416565b915060010161112c565b60c06040519081016040528060008152602001600081526020016000815260200160008152602001600081526020016000815250905600a165627a7a72305820ab1d7e28d573f6e907bef15c262664e2cf133dbaa7285845f9ca376f413acfd80029000000000000000000000000bcdfdca3627924be2fdd28fce24a8122fd473e30

Deployed Bytecode

0x60806040526004361061011c5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610121578063095ea7b3146101ab57806318160ddd146101e357806323b872dd1461020a5780632ff2e9dc14610234578063313ce567146102495780634138e7e114610274578063466916ca1461029b5780635c975abb146102b057806366188463146102c557806370a08231146102e957806388d695b21461030a57806395d89b4114610398578063a0821be3146103ad578063a1813fac146103ce578063a9059cbb146103ef578063c976ffbc14610413578063d33ecfee14610437578063d431b1ac1461044e578063d73dd62314610463578063dd62ed3e14610487575b600080fd5b34801561012d57600080fd5b506101366104ae565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610170578181015183820152602001610158565b50505050905090810190601f16801561019d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101b757600080fd5b506101cf600160a060020a036004351660243561050e565b604080519115158252519081900360200190f35b3480156101ef57600080fd5b506101f86105a3565b60408051918252519081900360200190f35b34801561021657600080fd5b506101cf600160a060020a03600435811690602435166044356105a9565b34801561024057600080fd5b506101f8610755565b34801561025557600080fd5b5061025e610765565b6040805160ff9092168252519081900360200190f35b34801561028057600080fd5b506101f860043560243560443560643560843560a43561076a565b3480156102a757600080fd5b506101cf610820565b3480156102bc57600080fd5b506101cf61084f565b3480156102d157600080fd5b506101cf600160a060020a036004351660243561085f565b3480156102f557600080fd5b506101f8600160a060020a036004351661098a565b34801561031657600080fd5b50604080516020600480358082013583810280860185019096528085526101cf95369593946024949385019291829185019084908082843750506040805187358901803560208181028481018201909552818452989b9a99890198929750908201955093508392508501908490808284375094975061099b9650505050505050565b3480156103a457600080fd5b50610136610a18565b3480156103b957600080fd5b506101f8600160a060020a0360043516610a4f565b3480156103da57600080fd5b506101f8600160a060020a0360043516610b8e565b3480156103fb57600080fd5b506101cf600160a060020a0360043516602435610bce565b34801561041f57600080fd5b506101f8600435602435604435606435608435610cde565b34801561044357600080fd5b5061044c610cf8565b005b34801561045a57600080fd5b5061044c610d4e565b34801561046f57600080fd5b506101cf600160a060020a0360043516602435610da6565b34801561049357600080fd5b506101f8600160a060020a0360043581169060243516610e75565b606060405190810160405280602181526020017f4b696e67204f66204361746572696e672028456e7465727461696e6d656e742981526020017f200000000000000000000000000000000000000000000000000000000000000081525081565b60035460009060a060020a900460ff161561052857600080fd5b600160a060020a038316151561053d57600080fd5b600160a060020a03338116600081815260026020908152604080832094881680845294825291829020869055815186815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a350600192915050565b60015490565b600354600090819060a060020a900460ff16156105c557600080fd5b600160a060020a03841615156105da57600080fd5b600160a060020a03851615156105ef57600080fd5b600160a060020a038086166000908152600260209081526040808320339094168352929052205483111561062257600080fd5b61062b85610a4f565b90508083111561063a57600080fd5b61064385610ea0565b600160a060020a03851660009081526020819052604090205461066c908463ffffffff6110ad16565b600160a060020a0380871660009081526020819052604080822093909355908616815220546106a1908463ffffffff6110c416565b600160a060020a03808616600090815260208181526040808320949094558883168252600281528382203390931682529190915220546106e7908463ffffffff6110ad16565b600160a060020a038087166000818152600260209081526040808320338616845282529182902094909455805187815290519288169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3506001949350505050565b6b033b2e3c9fd0803ce800000081565b601281565b6000806000806000808a8c10156107845760009550610811565b6107948c8c63ffffffff6110ad16565b94506107a6878963ffffffff6110d616565b93508385106107b757889550610811565b6107d7876107cb8b8d63ffffffff6110ad16565b9063ffffffff61110416565b92506107e9858963ffffffff61110416565b915061080b8a6107ff858563ffffffff6110d616565b9063ffffffff6110c416565b90508095505b50505050509695505050505050565b60035460009033600160a060020a0390811691161461083e57600080fd5b5060035460a060020a900460ff1690565b60035460a060020a900460ff1681565b600354600090819060a060020a900460ff161561087b57600080fd5b600160a060020a038416151561089057600080fd5b50600160a060020a03338116600090815260026020908152604080832093871683529290522054808311156108ec57600160a060020a033381166000908152600260209081526040808320938816835292905290812055610923565b6108fc818463ffffffff6110ad16565b600160a060020a033381166000908152600260209081526040808320938916835292905220555b600160a060020a0333811660008181526002602090815260408083209489168084529482529182902054825190815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3600191505b5092915050565b600061099582610a4f565b92915050565b600354600090819060a060020a900460ff16156109b757600080fd5b5060005b8351811015610a0e576109cd33610ea0565b610a0584828151811015156109de57fe5b9060200190602002015184838151811015156109f657fe5b90602001906020020151610bce565b506001016109bb565b5060019392505050565b60408051808201909152600381527f4b4f430000000000000000000000000000000000000000000000000000000000602082015281565b6000806000610a5c6111e4565b60008060009450600093505b600160a060020a038716600090815260056020526040902054841015610b5957600160a060020a0387166000908152600560205260409020805485908110610aac57fe5b60009182526020918290206040805160c081018252600690930290910180548084526001820154948401859052600282015492840183905260038201546060850181905260048301546080860181905260059093015460a0860152939750610b18949093909291610cde565b9150610b318360a00151836110ad90919063ffffffff16565b905060008110610b4e57610b4b858263ffffffff6110c416565b94505b600190930192610a68565b600160a060020a038716600090815260208190526040902054610b8390869063ffffffff6110c416565b979650505050505050565b600080610b9a83611127565b600160a060020a038416600090815260208190526040902054909150610bc790829063ffffffff6110c416565b9392505050565b600354600090819060a060020a900460ff1615610bea57600080fd5b600160a060020a0384161515610bff57600080fd5b610c0833610a4f565b905080831115610c1757600080fd5b610c2033610ea0565b600160a060020a033316600090815260208190526040902054610c49908463ffffffff6110ad16565b600160a060020a033381166000908152602081905260408082209390935590861681522054610c7e908463ffffffff6110c416565b600160a060020a03808616600081815260208181526040918290209490945580518781529051919333909316927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060019392505050565b6000610cee42878787878761076a565b9695505050505050565b60035433600160a060020a03908116911614610d1357600080fd5b60035460a060020a900460ff161515600114610d2e57600080fd5b6003805474ff000000000000000000000000000000000000000019169055565b60035433600160a060020a03908116911614610d6957600080fd5b60035460a060020a900460ff1615610d8057600080fd5b6003805474ff0000000000000000000000000000000000000000191660a060020a179055565b60035460009060a060020a900460ff1615610dc057600080fd5b600160a060020a0383161515610dd557600080fd5b600160a060020a03338116600090815260026020908152604080832093871683529290522054610e0b908363ffffffff6110c416565b600160a060020a0333811660008181526002602090815260408083209489168084529482529182902085905581519485529051929391927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a350600192915050565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b600080610eab6111e4565b60008060009450600093505b600160a060020a03861660009081526005602052604090205484101561105957600160a060020a0386166000908152600560205260409020805485908110610efb57fe5b600091825260208083206005600690930201820154600160a060020a038a1684529190526040909120805486908110610f3057fe5b9060005260206000209060060201600201541415610f4d5761104e565b600160a060020a0386166000908152600560205260409020805485908110610f7157fe5b60009182526020918290206040805160c081018252600690930290910180548084526001820154948401859052600282015492840183905260038201546060850181905260048301546080860181905260059093015460a0860152939750610fdd949093909291610cde565b9150610ff68360a00151836110ad90919063ffffffff16565b90506000811061104e57600160a060020a038616600090815260056020526040902080548391908690811061102757fe5b600091825260209091206005600690920201015561104b858263ffffffff6110c416565b94505b600190930192610eb7565b60008511156110a557600160a060020a03861660009081526020819052604090205461108b908663ffffffff6110c416565b600160a060020a0387166000908152602081905260409020555b505050505050565b600080838311156110bd57600080fd5b5050900390565b600082820183811015610bc757600080fd5b6000808315156110e95760009150610983565b508282028284828115156110f957fe5b0414610bc757600080fd5b60008080831161111357600080fd5b828481151561111e57fe5b04949350505050565b600080805b600160a060020a03841660009081526005602052604090205481101561098357600160a060020a038416600090815260056020526040902080546111da916111cd918490811061117857fe5b600091825260208083206005600690930201820154600160a060020a038a16845291905260409091208054859081106111ad57fe5b9060005260206000209060060201600201546110ad90919063ffffffff16565b839063ffffffff6110c416565b915060010161112c565b60c06040519081016040528060008152602001600081526020016000815260200160008152602001600081526020016000815250905600a165627a7a72305820ab1d7e28d573f6e907bef15c262664e2cf133dbaa7285845f9ca376f413acfd80029

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

000000000000000000000000bcdfdca3627924be2fdd28fce24a8122fd473e30

-----Decoded View---------------
Arg [0] : _master (address): 0xBcDFdcA3627924be2FDD28fCE24A8122fD473E30

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000bcdfdca3627924be2fdd28fce24a8122fd473e30


Swarm Source

bzzr://ab1d7e28d573f6e907bef15c262664e2cf133dbaa7285845f9ca376f413acfd8

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.