Transaction Hash:
Block:
12780351 at Jul-07-2021 12:42:57 PM +UTC
Transaction Fee:
0.001649344 ETH
$4.32
Gas Used:
51,542 Gas / 32 Gwei
Emitted Events:
150 |
MerchantToken.Transfer( from=[Sender] 0xe0e23db18939f6b78d9efdcdb5856822f5ffec48, to=Burner, tokens=1000000000000000000 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x002e0800...64949070d
Miner
| (2Miners: SOLO) | 12.04213144928359078 Eth | 12.04378079328359078 Eth | 0.001649344 | |
0xE0e23Db1...2f5FFEC48 | (Merchant Token: Deployer) |
0.668478935987778109 Eth
Nonce: 12
|
0.666829591987778109 Eth
Nonce: 13
| 0.001649344 | |
0xE66b3AA3...69DB3324F |
Execution Trace
MerchantToken.transfer( to=0xb69Fba56B2E67E7DdA61c8aA057886A8d1468575, tokens=1000000000000000000 ) => ( success=True )
transfer[MerchantToken (ln:71)]
safeSub[MerchantToken (ln:72)]
safeAdd[MerchantToken (ln:73)]
Transfer[MerchantToken (ln:74)]
File 1 of 2: MerchantToken
File 2 of 2: Burner
pragma solidity ^0.5.0; contract ERC20Interface { function totalSupply() public view returns (uint); function balanceOf(address tokenOwner) public view returns (uint balance); function allowance(address tokenOwner, address spender) public view returns (uint remaining); function transfer(address to, uint tokens) public returns (bool success); function approve(address spender, uint tokens) public returns (bool success); function transferFrom(address from, address to, uint tokens) public returns (bool success); event Transfer(address indexed from, address indexed to, uint tokens); event Approval(address indexed tokenOwner, address indexed spender, uint tokens); } contract SafeMath { function safeAdd(uint a, uint b) public pure returns (uint c) { c = a + b; require(c >= a); } function safeSub(uint a, uint b) public pure returns (uint c) { require(b <= a); c = a - b; } function safeMul(uint a, uint b) public pure returns (uint c) { c = a * b; require(a == 0 || c / a == b); } function safeDiv(uint a, uint b) public pure returns (uint c) { require(b > 0); c = a / b; } } contract MerchantToken is ERC20Interface, SafeMath { string constant public name = "Merchant Token"; string constant public symbol = "MTO"; uint8 constant public decimals = 18; uint256 constant public _totalSupply = 100000000000000000000000000; mapping(address => uint) public balances; mapping(address => mapping(address => uint)) public allowed; constructor() public { balances[msg.sender] = _totalSupply; emit Transfer(address(0), msg.sender, _totalSupply); } function totalSupply() public view returns (uint) { return _totalSupply - balances[address(0)]; } function balanceOf(address tokenOwner) public view returns (uint balance) { return balances[tokenOwner]; } function allowance(address tokenOwner, address spender) public view returns (uint remaining) { return allowed[tokenOwner][spender]; } function approve(address spender, uint tokens) public returns (bool success) { allowed[msg.sender][spender] = tokens; emit Approval(msg.sender, spender, tokens); return true; } function increaseApproval(address spender, uint tokens) public returns (bool success) { allowed[msg.sender][spender] = safeAdd(allowed[msg.sender][spender], tokens); return true; } function decreaseApproval(address spender, uint tokens) public returns (bool success) { allowed[msg.sender][spender] = safeSub(allowed[msg.sender][spender], tokens); return true; } function transfer(address to, uint tokens) public returns (bool success) { balances[msg.sender] = safeSub(balances[msg.sender], tokens); balances[to] = safeAdd(balances[to], tokens); emit Transfer(msg.sender, to, tokens); return true; } function transferFrom(address from, address to, uint tokens) public returns (bool success) { balances[from] = safeSub(balances[from], tokens); allowed[from][msg.sender] = safeSub(allowed[from][msg.sender], tokens); balances[to] = safeAdd(balances[to], tokens); emit Transfer(from, to, tokens); return true; } }
File 2 of 2: Burner
pragma solidity ^0.4.11; contract Burner { uint256 public totalBurned; function Purge() public { // the caller of purge action receives 0.01% out of the // current balance. msg.sender.transfer(this.balance / 1000); assembly { mstore(0, 0x30ff) // transfer all funds to a new contract that will selfdestruct // and destroy all ether in the process. create(balance(address), 30, 2) pop } } function Burn() payable { totalBurned += msg.value; } }