ETH Price: $1,966.81 (+0.96%)

Transaction Decoder

Block:
9060047 at Dec-06-2019 10:32:15 AM +UTC
Transaction Fee:
0.00021267 ETH $0.42
Gas Used:
21,267 Gas / 10 Gwei

Account State Difference:

  Address   Before After State Difference Code
0x48F3726C...cEEd185A4
(F2Pool Old)
4,452.406194006822641437 Eth4,452.406406676822641437 Eth0.00021267
0xB14a5f3C...2A08F5b82
0.007790000097613 Eth
Nonce: 16
0.007577330097613 Eth
Nonce: 17
0.00021267

Execution Trace

LT.transfer( _to=0xFd5d2198A7CE23153770C0209c4009B799C11339, _value=7090000 ) => ( success=True )
transfer[LT (ln:28)]
pragma solidity ^0.4.16;
contract LT{

    uint256 constant private MAX_UINT256 = 2**256 - 1;
    mapping (address => uint256) public balances;
    mapping (address => mapping (address => uint256)) public allowed;
    /*
    NOTE:
    The following variables are OPTIONAL vanities. One does not have to include them.
    They allow one to customise the token contract & in no way influences the core functionality.
    Some wallets/interfaces might not even bother to look at this information.
    */
    uint256 public totalSupply;
    string public name;                   //fancy name: eg Simon Bucks
    uint8 public decimals;                //How many decimals to show.
    string public symbol;                 //An identifier: eg SBX
     event Transfer(address indexed _from, address indexed _to, uint256 _value); 
    event Approval(address indexed _owner, address indexed _spender, uint256 _value);
   
    function LT() public {
        balances[msg.sender] = 2100000000000;               // Give the creator all initial tokens
        totalSupply = 2100000000000;                        // Update total supply
        name = "Loctite Assets Token";                                   // Set the name for display purposes
        decimals =4;                            // Amount of decimals for display purposes
        symbol = "LT";                               // Set the symbol for display purposes
    }

    function transfer(address _to, uint256 _value) public returns (bool success) {
        require(balances[msg.sender] >= _value);
        balances[msg.sender] -= _value;
        balances[_to] += _value;
        Transfer(msg.sender, _to, _value);
        return true;
    }

    function transferFrom(address _from, address _to, uint256 _value) public returns (bool success) {
        uint256 allowance = allowed[_from][msg.sender];
        require(balances[_from] >= _value && allowance >= _value);
        balances[_to] += _value;
        balances[_from] -= _value;
        if (allowance < MAX_UINT256) {
            allowed[_from][msg.sender] -= _value;
        }
        Transfer(_from, _to, _value);
        return true;
    }

    function balanceOf(address _owner) public view returns (uint256 balance) {
        return balances[_owner];
    }

    function approve(address _spender, uint256 _value) public returns (bool success) {
        allowed[msg.sender][_spender] = _value;
        Approval(msg.sender, _spender, _value);
        return true;
    }

    function allowance(address _owner, address _spender) public view returns (uint256 remaining) {
        return allowed[_owner][_spender];
    }   
}