ETH Price: $3,372.40 (+0.15%)

Token

Kyber Genesis (KGT)
 

Overview

Max Total Supply

39,484 KGT

Holders

39,464 (0.00%)

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 0 Decimals)

Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
KyberGenesisToken

Compiler Version
v0.4.15+commit.bbb8e64f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2017-09-25
*/

pragma solidity ^0.4.13;

contract Ownable {
  address public owner;


  /**
   * @dev The Ownable constructor sets the original `owner` of the contract to the sender
   * account.
   */
  function Ownable() {
    owner = msg.sender;
  }


  /**
   * @dev Throws if called by any account other than the owner.
   */
  modifier onlyOwner() {
    require(msg.sender == owner);
    _;
  }


  /**
   * @dev Allows the current owner to transfer control of the contract to a newOwner.
   * @param newOwner The address to transfer ownership to.
   */
  function transferOwnership(address newOwner) onlyOwner {
    if (newOwner != address(0)) {
      owner = newOwner;
    }
  }

}

contract ERC20Interface {
  function transferFrom(address _from, address _to, uint _value) returns (bool){}
  function transfer(address _to, uint _value) returns (bool){}
  function ERC20Interface(){}
}

contract KyberGenesisToken is Ownable {
  string  public  constant name     = "Kyber Genesis Token";
  string  public  constant symbol   = "KGT";
  uint    public  constant decimals = 0;

  uint                   public totalSupply = 0;
  mapping(address=>uint) public balanceOf;

  function KyberGenesisToken( address minter ) {
    transferOwnership(minter);
  }

  event Transfer(address indexed _from, address indexed _to, uint _value);
  event EndMinting( uint timestamp );

  function mint( address[] recipients ) onlyOwner {
    uint newRecipients = 0;
    for( uint i = 0 ; i < recipients.length ; i++ ){
      address recipient = recipients[i];
      if( balanceOf[recipient] == 0 ){
        Transfer( address(0x0), recipient, 1 );
        balanceOf[recipient] = 1;
        newRecipients++;
      }
    }

    totalSupply += newRecipients;
  }

  function endMinting() onlyOwner {
    transferOwnership(address(0xdead));
    EndMinting(block.timestamp);
  }

  function burn() {
    require(balanceOf[msg.sender] == 1 );
    Transfer( msg.sender, address(0x0), 1 );
    balanceOf[msg.sender] = 0;
    totalSupply--;
  }

  function emergencyERC20Drain( ERC20Interface token, uint amount ){
      // callable by anyone
      address kyberMultisig = 0x3EB01B3391EA15CE752d01Cf3D3F09deC596F650;
      token.transfer( kyberMultisig, amount );
  }


  // ERC20 stubs
  function transfer(address _to, uint _value) returns (bool){ revert(); }
  function transferFrom(address _from, address _to, uint _value) returns (bool){ revert(); }
  function approve(address _spender, uint _value) returns (bool){ revert(); }
  function allowance(address _owner, address _spender) constant returns (uint){ return 0; }
  event Approval(address indexed _owner, address indexed _spender, uint _value);
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"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,"type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"burn","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"recipients","type":"address[]"}],"name":"mint","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"token","type":"address"},{"name":"amount","type":"uint256"}],"name":"emergencyERC20Drain","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"endMinting","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"type":"function"},{"inputs":[{"name":"minter","type":"address"}],"payable":false,"type":"constructor"},{"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"},{"anonymous":false,"inputs":[{"indexed":false,"name":"timestamp","type":"uint256"}],"name":"EndMinting","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"}]

60606040526000600155341561001457600080fd5b6040516020806108c8833981016040528080519150505b5b60008054600160a060020a03191633600160a060020a03161790555b61005e8164010000000061078561006582021704565b5b506100b0565b60005433600160a060020a0390811691161461008057600080fd5b600160a060020a038116156100ab5760008054600160a060020a031916600160a060020a0383161790555b5b5b50565b610809806100bf6000396000f300606060405236156100d85763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100dd578063095ea7b31461016857806318160ddd1461019e57806323b872dd146101c3578063313ce567146101ff57806344df8e701461022457806370a08231146102395780638da5cb5b1461026a57806395d89b4114610299578063a9059cbb14610168578063bd075b841461035a578063db0e16f1146103ab578063dd62ed3e146103cf578063ef70aebf14610406578063f2fde38b1461041b575b600080fd5b34156100e857600080fd5b6100f061043c565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561012d5780820151818401525b602001610114565b50505050905090810190601f16801561015a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561017357600080fd5b61018a600160a060020a0360043516602435610473565b604051901515815260200160405180910390f35b34156101a957600080fd5b6101b1610480565b60405190815260200160405180910390f35b34156101ce57600080fd5b61018a600160a060020a0360043581169060243516604435610473565b604051901515815260200160405180910390f35b341561020a57600080fd5b6101b1610494565b60405190815260200160405180910390f35b341561022f57600080fd5b610237610499565b005b341561024457600080fd5b6101b1600160a060020a0360043516610524565b60405190815260200160405180910390f35b341561027557600080fd5b61027d610536565b604051600160a060020a03909116815260200160405180910390f35b34156102a457600080fd5b6100f0610545565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561012d5780820151818401525b602001610114565b50505050905090810190601f16801561015a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561017357600080fd5b61018a600160a060020a0360043516602435610473565b604051901515815260200160405180910390f35b341561036557600080fd5b610237600460248135818101908301358060208181020160405190810160405280939291908181526020018383602002808284375094965061058995505050505050565b005b34156103b657600080fd5b610237600160a060020a0360043516602435610673565b005b34156103da57600080fd5b6101b1600160a060020a036004358116906024351661071f565b60405190815260200160405180910390f35b341561041157600080fd5b610237610728565b005b341561042657600080fd5b610237600160a060020a0360043516610785565b005b60408051908101604052601381527f4b796265722047656e6573697320546f6b656e00000000000000000000000000602082015281565b6000806000fd5b92915050565b60015481565b6000806000fd5b9392505050565b600081565b600160a060020a0333166000908152600260205260409020546001146104be57600080fd5b600033600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600160405190815260200160405180910390a3600160a060020a033316600090815260026020526040812055600180546000190190555b565b60026020526000908152604090205481565b600054600160a060020a031681565b60408051908101604052600381527f4b47540000000000000000000000000000000000000000000000000000000000602082015281565b6000806000fd5b92915050565b600080548190819033600160a060020a039081169116146105a957600080fd5b60009250600091505b8351821015610663578382815181106105c757fe5b90602001906020020151600160a060020a038116600090815260026020526040902054909150151561065757600160a060020a03811660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600160405190815260200160405180910390a3600160a060020a038116600090815260026020526040902060019081905592909201915b5b6001909101906105b2565b60018054840190555b5b50505050565b733eb01b3391ea15ce752d01cf3d3f09dec596f650600160a060020a03831663a9059cbb82846000604051602001526040517c010000000000000000000000000000000000000000000000000000000063ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b15156106fe57600080fd5b6102c65a03f1151561070f57600080fd5b505050604051805150505b505050565b60005b92915050565b60005433600160a060020a0390811691161461074357600080fd5b61074e61dead610785565b7fc70faf9076ff7f43f07da927c92edc2da02676c3cc3cbb054144c657b9b2d2d04260405190815260200160405180910390a15b5b565b60005433600160a060020a039081169116146107a057600080fd5b600160a060020a038116156107d8576000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b5b505600a165627a7a72305820868fbc5740f4b925a90927ddc03ea7058855b746b680f4e4a284667b318ce81700290000000000000000000000009148ab505fd9eab5141b2b36ce815e2786b7f7cd

Deployed Bytecode

0x606060405236156100d85763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100dd578063095ea7b31461016857806318160ddd1461019e57806323b872dd146101c3578063313ce567146101ff57806344df8e701461022457806370a08231146102395780638da5cb5b1461026a57806395d89b4114610299578063a9059cbb14610168578063bd075b841461035a578063db0e16f1146103ab578063dd62ed3e146103cf578063ef70aebf14610406578063f2fde38b1461041b575b600080fd5b34156100e857600080fd5b6100f061043c565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561012d5780820151818401525b602001610114565b50505050905090810190601f16801561015a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561017357600080fd5b61018a600160a060020a0360043516602435610473565b604051901515815260200160405180910390f35b34156101a957600080fd5b6101b1610480565b60405190815260200160405180910390f35b34156101ce57600080fd5b61018a600160a060020a0360043581169060243516604435610473565b604051901515815260200160405180910390f35b341561020a57600080fd5b6101b1610494565b60405190815260200160405180910390f35b341561022f57600080fd5b610237610499565b005b341561024457600080fd5b6101b1600160a060020a0360043516610524565b60405190815260200160405180910390f35b341561027557600080fd5b61027d610536565b604051600160a060020a03909116815260200160405180910390f35b34156102a457600080fd5b6100f0610545565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561012d5780820151818401525b602001610114565b50505050905090810190601f16801561015a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561017357600080fd5b61018a600160a060020a0360043516602435610473565b604051901515815260200160405180910390f35b341561036557600080fd5b610237600460248135818101908301358060208181020160405190810160405280939291908181526020018383602002808284375094965061058995505050505050565b005b34156103b657600080fd5b610237600160a060020a0360043516602435610673565b005b34156103da57600080fd5b6101b1600160a060020a036004358116906024351661071f565b60405190815260200160405180910390f35b341561041157600080fd5b610237610728565b005b341561042657600080fd5b610237600160a060020a0360043516610785565b005b60408051908101604052601381527f4b796265722047656e6573697320546f6b656e00000000000000000000000000602082015281565b6000806000fd5b92915050565b60015481565b6000806000fd5b9392505050565b600081565b600160a060020a0333166000908152600260205260409020546001146104be57600080fd5b600033600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600160405190815260200160405180910390a3600160a060020a033316600090815260026020526040812055600180546000190190555b565b60026020526000908152604090205481565b600054600160a060020a031681565b60408051908101604052600381527f4b47540000000000000000000000000000000000000000000000000000000000602082015281565b6000806000fd5b92915050565b600080548190819033600160a060020a039081169116146105a957600080fd5b60009250600091505b8351821015610663578382815181106105c757fe5b90602001906020020151600160a060020a038116600090815260026020526040902054909150151561065757600160a060020a03811660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600160405190815260200160405180910390a3600160a060020a038116600090815260026020526040902060019081905592909201915b5b6001909101906105b2565b60018054840190555b5b50505050565b733eb01b3391ea15ce752d01cf3d3f09dec596f650600160a060020a03831663a9059cbb82846000604051602001526040517c010000000000000000000000000000000000000000000000000000000063ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b15156106fe57600080fd5b6102c65a03f1151561070f57600080fd5b505050604051805150505b505050565b60005b92915050565b60005433600160a060020a0390811691161461074357600080fd5b61074e61dead610785565b7fc70faf9076ff7f43f07da927c92edc2da02676c3cc3cbb054144c657b9b2d2d04260405190815260200160405180910390a15b5b565b60005433600160a060020a039081169116146107a057600080fd5b600160a060020a038116156107d8576000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b5b505600a165627a7a72305820868fbc5740f4b925a90927ddc03ea7058855b746b680f4e4a284667b318ce8170029

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

0000000000000000000000009148AB505Fd9eaB5141b2b36Ce815E2786b7f7cd

-----Decoded View---------------
Arg [0] : minter (address): 0x9148AB505Fd9eaB5141b2b36Ce815E2786b7f7cd

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000009148AB505Fd9eaB5141b2b36Ce815E2786b7f7cd


Swarm Source

bzzr://868fbc5740f4b925a90927ddc03ea7058855b746b680f4e4a284667b318ce817
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.