Transaction Hash:
Block:
8899673 at Nov-09-2019 01:55:05 AM +UTC
Transaction Fee:
0.00037197 ETH
$0.73
Gas Used:
37,197 Gas / 10 Gwei
Emitted Events:
| 178 |
PFC.Transfer( from=[Sender] 0x61b5dc1438147eb537b8b1dc8de5a112a3f309d5, to=0x187EE9122Fe4De799CB4303FC1b99240dcEd5019, value=1060000000000000000000 )
|
Account State Difference:
| Address | Before | After | State Difference | ||
|---|---|---|---|---|---|
| 0x61B5dC14...2A3f309D5 |
0.998003489 Eth
Nonce: 5
|
0.997631519 Eth
Nonce: 6
| 0.00037197 | ||
| 0xa37d94e8...41E4b58f6 | |||||
|
0xEA674fdD...16B898ec8
Miner
| (Ethermine) | 659.476796868360972393 Eth | 659.477168838360972393 Eth | 0.00037197 |
Execution Trace
PFC.transfer( dst=0x187EE9122Fe4De799CB4303FC1b99240dcEd5019, wad=1060000000000000000000 ) => ( True )
transfer[PFC (ln:72)]
sub[PFC (ln:75)]add[PFC (ln:76)]Transfer[PFC (ln:78)]
// Copyright (C) PFC Team
contract ERC20 {
function totalSupply() constant returns (uint supply);
function balanceOf( address who ) constant returns (uint value);
function allowance( address owner, address spender ) constant returns (uint _allowance);
function transfer( address to, uint value) returns (bool ok);
function transferFrom( address from, address to, uint value) returns (bool ok);
function approve( address spender, uint value ) returns (bool ok);
event Transfer( address indexed from, address indexed to, uint value);
event Approval( address indexed owner, address indexed spender, uint value);
}
contract DSMath {
function add(uint256 x, uint256 y) constant internal returns (uint256 z) {
assert((z = x + y) >= x);
}
function sub(uint256 x, uint256 y) constant internal returns (uint256 z) {
assert((z = x - y) <= x);
}
}
contract PFC is ERC20,DSMath {
uint256 _supply;
mapping (address => uint256) _balances;
mapping (address => mapping (address => uint256)) _approvals;
string public symbol;
string public name;
uint256 public decimals = 18;
address public owner;
bool public stopped;
uint256 public maxSupply=1000000000 ether;
function PFC() {
symbol="PFC";
name="Power Fans ERC20 Token";
owner=msg.sender;
}
modifier auth {
assert (msg.sender==owner);
_;
}
modifier stoppable {
assert (!stopped);
_;
}
function stop() auth {
stopped = true;
}
function start() auth {
stopped = false;
}
function totalSupply() constant returns (uint256) {
return _supply;
}
function balanceOf(address src) constant returns (uint256) {
return _balances[src];
}
function allowance(address src, address guy) constant returns (uint256) {
return _approvals[src][guy];
}
function transfer(address dst, uint wad) stoppable returns (bool) {
assert(_balances[msg.sender] >= wad);
_balances[msg.sender] = sub(_balances[msg.sender], wad);
_balances[dst] = add(_balances[dst], wad);
Transfer(msg.sender, dst, wad);
return true;
}
function transferFrom(address src, address dst, uint wad)stoppable returns (bool) {
assert(_balances[src] >= wad);
assert(_approvals[src][msg.sender] >= wad);
_approvals[src][msg.sender] = sub(_approvals[src][msg.sender], wad);
_balances[src] = sub(_balances[src], wad);
_balances[dst] = add(_balances[dst], wad);
Transfer(src, dst, wad);
return true;
}
function approve(address guy, uint256 wad) stoppable returns (bool) {
_approvals[msg.sender][guy] = wad;
Approval(msg.sender, guy, wad);
return true;
}
function mint(address dst,uint128 wad) auth stoppable {
assert(add(_supply,wad)<=maxSupply);
_balances[dst] = add(_balances[dst], wad);
_supply = add(_supply, wad);
}
event LogSetOwner (address indexed owner);
function setOwner(address owner_) auth
{
owner = owner_;
LogSetOwner(owner);
}
}