Transaction Hash:
Block:
23171196 at Aug-18-2025 11:21:11 PM +UTC
Transaction Fee:
0.000008850533932836 ETH
$0.02
Gas Used:
34,731 Gas / 0.254830956 Gwei
Emitted Events:
| 544 |
Telcoin.Transfer( _from=[Sender] 0x44a41a2c8f4f5c2e99f55d585e3cfbed9376bc6c, _to=0x556052af8B4f001b659066E061836B174E39c539, _value=2946397 )
|
Account State Difference:
| Address | Before | After | State Difference | ||
|---|---|---|---|---|---|
| 0x44A41a2c...D9376BC6C |
0.01998646153212692 Eth
Nonce: 1
|
0.019977610998194084 Eth
Nonce: 2
| 0.000008850533932836 | ||
| 0x467Bccd9...82827790F | |||||
|
0x4838B106...B0BAD5f97
Miner
| (Titan Builder) | 14.703146972942990165 Eth | 14.703147235788726329 Eth | 0.000000262845736164 |
Execution Trace
Telcoin.transfer( _to=0x556052af8B4f001b659066E061836B174E39c539, _value=2946397 ) => ( True )
transfer[Telcoin (ln:68)]
sub[Telcoin (ln:73)]add[Telcoin (ln:74)]Transfer[Telcoin (ln:75)]
pragma solidity 0.4.18;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function div(uint256 a, uint256 b) internal pure returns (uint256) {
// assert(b > 0); // Solidity automatically throws 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;
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
assert(b <= a);
return a - b;
}
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
assert(c >= a);
return c;
}
}
contract Telcoin {
using SafeMath for uint256;
event Transfer(address indexed _from, address indexed _to, uint _value);
event Approval(address indexed _owner, address indexed _spender, uint _value);
string public constant name = "Telcoin";
string public constant symbol = "TEL";
uint8 public constant decimals = 2;
/// The ERC20 total fixed supply of tokens.
uint256 public constant totalSupply = 100000000000 * (10 ** uint256(decimals));
/// Account balances.
mapping(address => uint256) balances;
/// The transfer allowances.
mapping (address => mapping (address => uint256)) internal allowed;
/// The initial distributor is responsible for allocating the supply
/// into the various pools described in the whitepaper. This can be
/// verified later from the event log.
function Telcoin(address _distributor) public {
balances[_distributor] = totalSupply;
Transfer(0x0, _distributor, totalSupply);
}
/// ERC20 balanceOf().
function balanceOf(address _owner) public view returns (uint256) {
return balances[_owner];
}
/// ERC20 transfer().
function transfer(address _to, uint256 _value) public returns (bool) {
require(_to != address(0));
require(_value <= balances[msg.sender]);
// SafeMath.sub will throw if there is not enough balance.
balances[msg.sender] = balances[msg.sender].sub(_value);
balances[_to] = balances[_to].add(_value);
Transfer(msg.sender, _to, _value);
return true;
}
/// ERC20 transferFrom().
function transferFrom(address _from, address _to, uint256 _value) public returns (bool) {
require(_to != address(0));
require(_value <= balances[_from]);
require(_value <= allowed[_from][msg.sender]);
balances[_from] = balances[_from].sub(_value);
balances[_to] = balances[_to].add(_value);
allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value);
Transfer(_from, _to, _value);
return true;
}
/// ERC20 approve(). Comes with the standard caveat that an approval
/// meant to limit spending may actually allow more to be spent due to
/// unfortunate ordering of transactions. For safety, this method
/// should only be called if the current allowance is 0. Alternatively,
/// non-ERC20 increaseApproval() and decreaseApproval() can be used.
function approve(address _spender, uint256 _value) public returns (bool) {
allowed[msg.sender][_spender] = _value;
Approval(msg.sender, _spender, _value);
return true;
}
/// ERC20 allowance().
function allowance(address _owner, address _spender) public view returns (uint256) {
return allowed[_owner][_spender];
}
/// Not officially ERC20. Allows an allowance to be increased safely.
function increaseApproval(address _spender, uint _addedValue) public returns (bool) {
allowed[msg.sender][_spender] = allowed[msg.sender][_spender].add(_addedValue);
Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
return true;
}
/// Not officially ERC20. Allows an allowance to be decreased safely.
function decreaseApproval(address _spender, uint _subtractedValue) public returns (bool) {
uint oldValue = allowed[msg.sender][_spender];
if (_subtractedValue > oldValue) {
allowed[msg.sender][_spender] = 0;
} else {
allowed[msg.sender][_spender] = oldValue.sub(_subtractedValue);
}
Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
return true;
}
}