Sponsored Link:   SHIFT.cash - 1st ever car title loan platform on blockchain. Join NOW.
Overview
ETH Balance: 0 Ether
ETH USD Value: $0
No Of Transactions: 5 txns
Misc
Address Watch Add To Watch List
  Latest 5 txns

TxHash Age From To Value [TxFee]
0xf2866928805a8ed2ef1a848133ed93ce1b65ebe86a555603ca76589686a1ed7d26 days 11 hrs ago0x8b8a571730b631f58e7965d78582eae1b0417ab6  IN   0xc16c28d110697b1ad7a0f640eee2e343febea43b0 Ether0.000261972
0x8a25ad12d0cdd9472faae84c257647f568f157c0cab950390f17688bf8f245b529 days 10 hrs ago0x8b8a571730b631f58e7965d78582eae1b0417ab6  IN   0xc16c28d110697b1ad7a0f640eee2e343febea43b0 Ether0.001226849
0x2cad20ab859d68f4ca7f10202be9f89f5835cd6e2daeafd2382c2ae2b26d81a329 days 10 hrs ago0x8b8a571730b631f58e7965d78582eae1b0417ab6  IN   0xc16c28d110697b1ad7a0f640eee2e343febea43b0 Ether0.000700758
0x472f705818fe3b39ec4df747ee2579bfa09f77a92322d7b9de6f6d1d8151122e29 days 11 hrs ago0x8b8a571730b631f58e7965d78582eae1b0417ab6  IN   0xc16c28d110697b1ad7a0f640eee2e343febea43b0 Ether0.001581446
0xf110d55486896c26da743e6ce00cedbd7dfd5d62398d89d53bfe09787985985729 days 11 hrs ago0x8b8a571730b631f58e7965d78582eae1b0417ab6  IN    Contract Creation0 Ether0.018178934
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
  Latest 8 Internal Transactions

ParentTxHash Block Age From To Value
0xf2866928805a8ed2ef1a848133ed93ce1b65ebe86a555603ca76589686a1ed7d457222726 days 11 hrs ago0xc16c28d110697b1ad7a0f640eee2e343febea43b0x8b8a571730b631f58e7965d78582eae1b0417ab60.00578172 Ether
0x2709c883b0ffef2b655054e295760a722be27af648794cd440282d2d26423814457152726 days 14 hrs ago0x1c0a9bbaddb924b42e3145610960dde1197795600xc16c28d110697b1ad7a0f640eee2e343febea43b0.00242424 Ether
0xc6f3aeda210490bdcf74f8e5e764ed95d8fc3a2b9167dff06e4f2f19d76517a4457150626 days 14 hrs ago0x1c0a9bbaddb924b42e3145610960dde1197795600xc16c28d110697b1ad7a0f640eee2e343febea43b0.00121212 Ether
0x40a2dc7488b6e6385e3375f23d5847f97946a640ba094b131fe1b5db7988af93457118026 days 15 hrs ago0x1c0a9bbaddb924b42e3145610960dde1197795600xc16c28d110697b1ad7a0f640eee2e343febea43b0.00121212 Ether
0xa54a6ab0a35977f1dd88caa85482dd865d87b5b23304b4ef58cdd5316429c3f9456640527 days 10 hrs ago0x8bf1e43e3ca6f5c25c380803154ae687d682ad320xc16c28d110697b1ad7a0f640eee2e343febea43b0.00013332 Ether
0xbd2176d0c7bf70730aad7dc6286f0383795cd50ee88b71e3750d3796d39a1f59456563227 days 13 hrs ago0x8bf1e43e3ca6f5c25c380803154ae687d682ad320xc16c28d110697b1ad7a0f640eee2e343febea43b0.00066664 Ether
0xc1f85748b97c0bfc837f34fea1996dd918a326c1cd1e923aeef44753246c4f74456534827 days 14 hrs ago0x8bf1e43e3ca6f5c25c380803154ae687d682ad320xc16c28d110697b1ad7a0f640eee2e343febea43b0.00002664 Ether
0x94f3af70c7e45cec9c56a417cd2c4950093f752cec4ab434cb6a18b466e1b48c456530327 days 14 hrs ago0x8bf1e43e3ca6f5c25c380803154ae687d682ad320xc16c28d110697b1ad7a0f640eee2e343febea43b0.00010664 Ether
[ Download CSV Export  ] 
Contract SUICIDE called at TxHash 0xf2866928805a8ed2ef1a848133ed93ce1b65ebe86a555603ca76589686a1ed7d

Contract Source Code Verified
Contract Name: BurnableToken
Compiler Version: v0.4.18+commit.9cf6e910
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts
pragma solidity ^0.4.15;

/**
 *
 * @author  <[email protected]>
 *
 * Version C
 *
 * Overview:
 * This is an implimentation of a `burnable` token. The tokens do not pay any dividends; however if/when tokens
 * are `burned`, the burner gets a share of whatever funds the contract owns at that time. No provision is made
 * for how tokens are sold; all tokens are initially credited to the contract owner. There is a provision to
 * establish a single `restricted` account. The restricted account can own tokens, but cannot transfer them or
 * burn them until after a certain date. . There is also a function to burn tokens without getting paid. This is
 * useful, for example, if the sale-contract/owner wants to reduce the supply of tokens.
 *
 */
pragma solidity ^0.4.11;

/*
    Overflow protected math functions
*/
contract SafeMath {
    /**
        constructor
    */
    function SafeMath() public {
    }

    /**
        @dev returns the sum of _x and _y, asserts if the calculation overflows

        @param _x   value 1
        @param _y   value 2

        @return sum
    */
    function safeAdd(uint256 _x, uint256 _y) pure internal returns (uint256) {
        uint256 z = _x + _y;
        assert(z >= _x);
        return z;
    }

    /**
        @dev returns the difference of _x minus _y, asserts if the subtraction results in a negative number

        @param _x   minuend
        @param _y   subtrahend

        @return difference
    */
    function safeSub(uint256 _x, uint256 _y) pure internal returns (uint256) {
        assert(_x >= _y);
        return _x - _y;
    }

    /**
        @dev returns the product of multiplying _x by _y, asserts if the calculation overflows

        @param _x   factor 1
        @param _y   factor 2

        @return product
    */
    function safeMul(uint256 _x, uint256 _y) pure internal returns (uint256) {
        uint256 z = _x * _y;
        assert(_x == 0 || z / _x == _y);
        return z;
    }
}

pragma solidity ^0.4.15;

//Burnable Token interface

pragma solidity ^0.4.15;

// Token standard API
// https://github.com/ethereum/EIPs/issues/20

contract iERC20Token {
  function totalSupply() public constant returns (uint supply);
  function balanceOf( address who ) public constant returns (uint value);
  function allowance( address owner, address spender ) public constant returns (uint remaining);

  function transfer( address to, uint value) public returns (bool ok);
  function transferFrom( address from, address to, uint value) public returns (bool ok);
  function approve( address spender, uint value ) public returns (bool ok);

  event Transfer( address indexed from, address indexed to, uint value);
  event Approval( address indexed owner, address indexed spender, uint value);
}


contract iBurnableToken is iERC20Token {
  function burnTokens(uint _burnCount) public;
  function unPaidBurnTokens(uint _burnCount) public;
}

contract BurnableToken is iBurnableToken, SafeMath {

  event PaymentEvent(address indexed from, uint amount);
  event TransferEvent(address indexed from, address indexed to, uint amount);
  event ApprovalEvent(address indexed from, address indexed to, uint amount);
  event BurnEvent(address indexed from, uint count, uint value);

  string  public symbol;
  string  public name;
  bool    public isLocked;
  uint    public decimals;
  uint    public restrictUntil;                              //vesting for developer tokens
  uint           tokenSupply;                                //can never be increased; but tokens can be burned
  address public owner;
  address public restrictedAcct;                             //no transfers from this addr during vest time
  mapping (address => uint) balances;
  mapping (address => mapping (address => uint)) approvals;  //transfer approvals, from -> to


  modifier ownerOnly {
    require(msg.sender == owner);
    _;
  }

  modifier unlockedOnly {
    require(!isLocked);
    _;
  }

  modifier preventRestricted {
    require((msg.sender != restrictedAcct) || (now >= restrictUntil));
    _;
  }


  //
  //constructor
  //
  function BurnableToken() public {
    owner = msg.sender;
  }


  //
  // ERC-20
  //

  function totalSupply() public constant returns (uint supply) { supply = tokenSupply; }

  function transfer(address _to, uint _value) public preventRestricted returns (bool success) {
    //if token supply was not limited then we would prevent wrap:
    //if (balances[msg.sender] >= _value && balances[_to] + _value > balances[_to])
    if (balances[msg.sender] >= _value && _value > 0) {
      balances[msg.sender] -= _value;
      balances[_to] += _value;
      TransferEvent(msg.sender, _to, _value);
      return true;
    } else {
      return false;
    }
  }


  function transferFrom(address _from, address _to, uint _value) public returns (bool success) {
    //if token supply was not limited then we would prevent wrap:
    //if (balances[_from] >= _value && approvals[_from][msg.sender] >= _value && balances[_to] + _value > balances[_to])
    if (balances[_from] >= _value && approvals[_from][msg.sender] >= _value && _value > 0) {
      balances[_from] -= _value;
      balances[_to] += _value;
      approvals[_from][msg.sender] -= _value;
      TransferEvent(_from, _to, _value);
      return true;
    } else {
      return false;
    }
  }


  function balanceOf(address _owner) public constant returns (uint balance) {
    balance = balances[_owner];
  }


  function approve(address _spender, uint _value) public preventRestricted returns (bool success) {
    approvals[msg.sender][_spender] = _value;
    ApprovalEvent(msg.sender, _spender, _value);
    return true;
  }


  function allowance(address _owner, address _spender) public constant returns (uint remaining) {
    return approvals[_owner][_spender];
  }


  //
  // END ERC20
  //


  //
  // default payable function.
  //
  function () public payable {
    PaymentEvent(msg.sender, msg.value);
  }

  function initTokenSupply(uint _tokenSupply, uint _decimals) public ownerOnly {
    require(tokenSupply == 0);
    tokenSupply = _tokenSupply;
    balances[owner] = tokenSupply;
    decimals = _decimals;
  }

  function setName(string _name, string _symbol) public ownerOnly {
    name = _name;
    symbol = _symbol;
  }

  function lock() public ownerOnly {
    isLocked = true;
  }

  function setRestrictedAcct(address _restrictedAcct, uint _restrictUntil) public ownerOnly unlockedOnly {
    restrictedAcct = _restrictedAcct;
    restrictUntil = _restrictUntil;
  }

  function tokenValue() constant public returns (uint value) {
    value = this.balance / tokenSupply;
  }

  function valueOf(address _owner) constant public returns (uint value) {
    value = this.balance * balances[_owner] / tokenSupply;
  }

  function burnTokens(uint _burnCount) public preventRestricted {
    if (balances[msg.sender] >= _burnCount && _burnCount > 0) {
      uint _value = this.balance * _burnCount / tokenSupply;
      tokenSupply -= _burnCount;
      balances[msg.sender] -= _burnCount;
      msg.sender.transfer(_value);
      BurnEvent(msg.sender, _burnCount, _value);
    }
  }

  function unPaidBurnTokens(uint _burnCount) public preventRestricted {
    if (balances[msg.sender] >= _burnCount && _burnCount > 0) {
      tokenSupply -= _burnCount;
      balances[msg.sender] -= _burnCount;
      BurnEvent(msg.sender, _burnCount, 0);
    }
  }

  //for debug
  //only available before the contract is locked
  function haraKiri() public ownerOnly unlockedOnly {
    selfdestruct(owner);
  }

}

    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":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"supply","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_burnCount","type":"uint256"}],"name":"unPaidBurnTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"tokenValue","outputs":[{"name":"value","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":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_name","type":"string"},{"name":"_symbol","type":"string"}],"name":"setName","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_burnCount","type":"uint256"}],"name":"burnTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"restrictUntil","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"valueOf","outputs":[{"name":"value","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isLocked","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_tokenSupply","type":"uint256"},{"name":"_decimals","type":"uint256"}],"name":"initTokenSupply","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"haraKiri","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"restrictedAcct","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_restrictedAcct","type":"address"},{"name":"_restrictUntil","type":"uint256"}],"name":"setRestrictedAcct","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"lock","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"PaymentEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"TransferEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"ApprovalEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":false,"name":"count","type":"uint256"},{"indexed":false,"name":"value","type":"uint256"}],"name":"BurnEvent","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"},{"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"}]

  Contract Creation Code Switch To Opcodes View
6060604052341561000f57600080fd5b60068054600160a060020a03191633600160a060020a0316179055610ceb806100396000396000f3006060604052600436106101275763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610166578063095ea7b3146101f057806318160ddd146102265780631d5f624a1461024b5780631ec7e3451461026357806323b872dd14610276578063313ce5671461029e5780635c707f07146102b15780636d1b229d1461034457806370a082311461035a5780638da5cb5b1461037957806395d89b41146103a8578063a077321c146103bb578063a48028aa146103ce578063a4e2d634146103ed578063a9059cbb14610400578063ac5f732a14610422578063c40525591461043b578063cf210e161461044e578063dd62ed3e14610461578063e4372d0f14610486578063f83d08ba146104a8575b33600160a060020a03167ff7130aabb9c9cca18a579bcff1de84054de1ca07680f60eae1510bae7788f8193460405190815260200160405180910390a2005b341561017157600080fd5b6101796104bb565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101b557808201518382015260200161019d565b50505050905090810190601f1680156101e25780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101fb57600080fd5b610212600160a060020a0360043516602435610559565b604051901515815260200160405180910390f35b341561023157600080fd5b6102396105f1565b60405190815260200160405180910390f35b341561025657600080fd5b6102616004356105f7565b005b341561026e57600080fd5b6102396106b6565b341561028157600080fd5b610212600160a060020a03600435811690602435166044356106d5565b34156102a957600080fd5b6102396107cd565b34156102bc57600080fd5b61026160046024813581810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284378201915050505050509190803590602001908201803590602001908080601f0160208091040260200160405190810160405281815292919060208401838380828437509496506107d395505050505050565b341561034f57600080fd5b61026160043561081a565b341561036557600080fd5b610239600160a060020a0360043516610930565b341561038457600080fd5b61038c61094b565b604051600160a060020a03909116815260200160405180910390f35b34156103b357600080fd5b61017961095a565b34156103c657600080fd5b6102396109c5565b34156103d957600080fd5b610239600160a060020a03600435166109cb565b34156103f857600080fd5b6102126109ff565b341561040b57600080fd5b610212600160a060020a0360043516602435610a08565b341561042d57600080fd5b610261600435602435610ad9565b341561044657600080fd5b610261610b29565b341561045957600080fd5b61038c610b62565b341561046c57600080fd5b610239600160a060020a0360043581169060243516610b71565b341561049157600080fd5b610261600160a060020a0360043516602435610b9c565b34156104b357600080fd5b610261610bfa565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156105515780601f1061052657610100808354040283529160200191610551565b820191906000526020600020905b81548152906001019060200180831161053457829003601f168201915b505050505081565b60075460009033600160a060020a03908116911614158061057c57506004544210155b151561058757600080fd5b600160a060020a03338116600081815260096020908152604080832094881680845294909152908190208590557f08245b82180b1f5e514e503c113ab0197093b2cb542145037c0a31b54b1d998e9085905190815260200160405180910390a35060015b92915050565b60055490565b60075433600160a060020a03908116911614158061061757506004544210155b151561062257600080fd5b600160a060020a03331660009081526008602052604090205481901080159061064b5750600081115b156106b357600580548290039055600160a060020a033316600081815260086020526040808220805485900390557f1307300906ee0e909ff59a42e6bacdb0b22af0612f8f73df01b61c20e1168c959184915191825260208201526040908101905180910390a25b50565b600060055430600160a060020a0316318115156106cf57fe5b04905090565b600160a060020a0383166000908152600860205260408120548290108015906107255750600160a060020a0380851660009081526009602090815260408083203390941683529290522054829010155b80156107315750600082115b156107c257600160a060020a03808516600081815260086020908152604080832080548890039055878516808452818420805489019055848452600983528184203390961684529490915290819020805486900390557feaf1c4b3ce0f4f62a2bae7eb3e68225c75f7e6ff4422073b7437b9a78d25f1709085905190815260200160405180910390a35060016107c6565b5060005b9392505050565b60035481565b60065433600160a060020a039081169116146107ee57600080fd5b6001828051610801929160200190610c24565b506000818051610815929160200190610c24565b505050565b60075460009033600160a060020a03908116911614158061083d57506004544210155b151561084857600080fd5b600160a060020a0333166000908152600860205260409020548290108015906108715750600082115b1561092c576005548230600160a060020a0316310281151561088f57fe5b600580548590039055600160a060020a03331660008181526008602052604090819020805487900390559290910492509082156108fc0290839051600060405180830381858888f1935050505015156108e757600080fd5b33600160a060020a03167f1307300906ee0e909ff59a42e6bacdb0b22af0612f8f73df01b61c20e1168c95838360405191825260208201526040908101905180910390a25b5050565b600160a060020a031660009081526008602052604090205490565b600654600160a060020a031681565b60008054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156105515780601f1061052657610100808354040283529160200191610551565b60045481565b600554600160a060020a03808316600090815260086020526040812054909291301631028115156109f857fe5b0492915050565b60025460ff1681565b60075460009033600160a060020a039081169116141580610a2b57506004544210155b1515610a3657600080fd5b600160a060020a033316600090815260086020526040902054829010801590610a5f5750600082115b15610ad157600160a060020a033381166000818152600860205260408082208054879003905592861680825290839020805486019055917feaf1c4b3ce0f4f62a2bae7eb3e68225c75f7e6ff4422073b7437b9a78d25f1709085905190815260200160405180910390a35060016105eb565b5060006105eb565b60065433600160a060020a03908116911614610af457600080fd5b60055415610b0157600080fd5b6005829055600654600160a060020a0316600090815260086020526040902091909155600355565b60065433600160a060020a03908116911614610b4457600080fd5b60025460ff1615610b5457600080fd5b600654600160a060020a0316ff5b600754600160a060020a031681565b600160a060020a03918216600090815260096020908152604080832093909416825291909152205490565b60065433600160a060020a03908116911614610bb757600080fd5b60025460ff1615610bc757600080fd5b6007805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039390931692909217909155600455565b60065433600160a060020a03908116911614610c1557600080fd5b6002805460ff19166001179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10610c6557805160ff1916838001178555610c92565b82800160010185558215610c92579182015b82811115610c92578251825591602001919060010190610c77565b50610c9e929150610ca2565b5090565b610cbc91905b80821115610c9e5760008155600101610ca8565b905600a165627a7a7230582065de5d4e04d06ce3ff06f5341ccb4ea9fce7883b6580e873d70920c05b71e0e80029

   Swarm Source:
bzzr://65de5d4e04d06ce3ff06f5341ccb4ea9fce7883b6580e873d70920c05b71e0e8

 

View All
Block Age txn Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "downvote" button for any spammy posts, and the "upvote" for interesting conversations.