Transaction Hash:
Block:
8508179 at Sep-08-2019 08:24:32 AM +UTC
Transaction Fee:
0.000336675 ETH
$0.71
Gas Used:
22,445 Gas / 15 Gwei
Emitted Events:
| 90 |
DrepToken.Transfer( _from=[Sender] 0x2a065374a3542b87b590c6f3c7956205c581d374, _to=0x723641cdce3EDB8F365cE66EBD8cBD396FC42356, _value=75775000000000000000000 )
|
Account State Difference:
| Address | Before | After | State Difference | ||
|---|---|---|---|---|---|
|
0x09ab1303...240c70294
Miner
| (Minerall Pool) | 847.350861697952641625 Eth | 847.351198372952641625 Eth | 0.000336675 | |
| 0x2A065374...5C581D374 |
76.154124449937121 Eth
Nonce: 70
|
76.153787774937121 Eth
Nonce: 71
| 0.000336675 | ||
| 0x3aCA71C5...654572fb7 |
Execution Trace
DrepToken.transfer( _to=0x723641cdce3EDB8F365cE66EBD8cBD396FC42356, _value=75775000000000000000000 ) => ( success=True )
transfer[DrepToken (ln:40)]
Transfer[DrepToken (ln:46)]
pragma solidity ^0.4.18;
contract DrepToken {
string public name = "DREP";
string public symbol = "DREP";
uint8 public decimals = 18;
mapping (address => uint256) public balanceOf;
mapping (address => mapping (address => uint256)) public allowance;
uint256 public totalSupply;
uint256 constant initialSupply = 10000000000;
bool public stopped = false;
address internal owner = 0x0;
modifier ownerOnly {
require(owner == msg.sender);
_;
}
modifier isRunning {
require(!stopped);
_;
}
modifier validAddress {
require(msg.sender != 0x0);
_;
}
function DrepToken() public {
owner = msg.sender;
totalSupply = initialSupply * 10 ** uint256(decimals);
balanceOf[owner] = totalSupply;
}
function transfer(address _to, uint256 _value) isRunning validAddress public returns (bool success) {
require(_to != 0x0);
require(balanceOf[msg.sender] >= _value);
require(balanceOf[_to] + _value >= balanceOf[_to]);
balanceOf[msg.sender] -= _value;
balanceOf[_to] += _value;
emit Transfer(msg.sender, _to, _value);
return true;
}
function transferFrom(address _from, address _to, uint256 _value) isRunning validAddress public returns (bool success) {
require(_to != 0x0);
require(balanceOf[_from] >= _value);
require(balanceOf[_to] + _value >= balanceOf[_to]);
require(allowance[_from][msg.sender] >= _value);
allowance[_from][msg.sender] -= _value;
balanceOf[_from] -= _value;
balanceOf[_to] += _value;
emit Transfer(_from, _to, _value);
return true;
}
function approve(address _spender, uint256 _value) isRunning validAddress public returns (bool success) {
require(_value == 0 || allowance[msg.sender][_spender] == 0);
allowance[msg.sender][_spender] = _value;
emit Approval(msg.sender, _spender, _value);
return true;
}
function stop() ownerOnly public {
stopped = true;
}
function start() ownerOnly public {
stopped = false;
}
function burn(uint256 _value) isRunning validAddress public {
require(balanceOf[msg.sender] >= _value);
require(totalSupply >= _value);
balanceOf[msg.sender] -= _value;
totalSupply -= _value;
}
event Transfer(address indexed _from, address indexed _to, uint256 _value);
event Approval(address indexed _owner, address indexed _spender, uint256 _value);
}