ETH Price: $2,055.88 (-2.97%)

Transaction Decoder

Block:
7004139 at Jan-03-2019 03:57:20 PM +UTC
Transaction Fee:
0.000096636 ETH $0.20
Gas Used:
24,159 Gas / 4 Gwei

Account State Difference:

  Address   Before After State Difference Code
0xCEb4542B...41D24d367
0.002463817802319151 Eth
Nonce: 231
0.002367181802319151 Eth
Nonce: 232
0.000096636
(Ethermine)
596.928770493513062666 Eth596.928867129513062666 Eth0.000096636

Execution Trace

Bhtd.transfer( _to=0xcE85247b032f7528bA97396F7B17C76D5D034D2F, _value=785418177086238000000 )
pragma solidity ^0.4.13;

contract Bhtd {
    address public owner;
    string  public name;
    string  public symbol;
    uint8   public decimals;
    uint256 public totalSupply;

    mapping (address => uint256) public balanceOf;
    mapping (address => mapping (address => uint256)) public allowance;

    /* This generates a public event on the blockchain that will notify clients */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /* This notifies clients about the amount burnt */
    event Burn(address indexed from, uint256 value);

    /* Initializes contract with initial supply tokens to the creator of the contract */
    function Bhtd() {
      owner = 0x8De0C14567088e2d8609a13EF986ae59d9e3dbB0;
      name = 'Bhtd';
      symbol = 'BHTD';
      decimals = 18;
      totalSupply = 320000000000000000000000000; // 2e27
      balanceOf[owner] = 320000000000000000000000000;
    }

    /* Send coins */
    function transfer(address _to, uint256 _value) returns (bool success) {
      require(balanceOf[msg.sender] >= _value);

      balanceOf[msg.sender] -= _value;
      balanceOf[_to] += _value;
      Transfer(msg.sender, _to, _value);
      return true;
    }

    /* Allow another contract to spend some tokens in your behalf */
    function approve(address _spender, uint256 _value) returns (bool success) {
      allowance[msg.sender][_spender] = _value;
      return true;
    }

    /* A contract attempts to get the coins */
    function transferFrom(address _from, address _to, uint256 _value) returns (bool success) {
      require(balanceOf[_from] >= _value);
      require(allowance[_from][msg.sender] >= _value);

      balanceOf[_from] -= _value;
      balanceOf[_to] += _value;
      allowance[_from][msg.sender] -= _value;
      Transfer(_from, _to, _value);
      return true;
    }

    function burn(uint256 _value) returns (bool success) {
      require(balanceOf[msg.sender] >= _value);

      balanceOf[msg.sender] -= _value;
      totalSupply -= _value;
      Burn(msg.sender, _value);
      return true;
    }
}