Transaction Hash:
Block:
11961669 at Mar-02-2021 10:53:07 PM +UTC
Transaction Fee:
0.0025249 ETH
$6.16
Gas Used:
36,070 Gas / 70 Gwei
Emitted Events:
53 |
AME.Transfer( from=[Sender] 0x9e08fad368a123550b2fb6c21fe4b89825b6eb76, to=0xdb6C635B01B41BB0fa785229e641E817F5B29a8c, tokens=700000000000000000000 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x12513335...CA84bff86 | |||||
0x2f731c3e...6303DF52A
Miner
| 1,255.931401608436439197 Eth | 1,255.933926508436439197 Eth | 0.0025249 | ||
0x9e08FAD3...825B6eB76 |
0.0055245 Eth
Nonce: 3
|
0.0029996 Eth
Nonce: 4
| 0.0025249 |
Execution Trace
AME.transfer( to=0xdb6C635B01B41BB0fa785229e641E817F5B29a8c, tokens=700000000000000000000 ) => ( success=True )
transfer[AME (ln:88)]
safeSub[AME (ln:90)]
safeAdd[AME (ln:91)]
Transfer[AME (ln:92)]
pragma solidity ^0.5.0; //-------------------------------------- // AME Token contract // // Symbol : AME // Name : AME Token // Total supply: 1500000000 // Decimals : 18 //-------------------------------------- contract ERC20Interface { function totalSupply() public view returns (uint256); function balanceOf(address tokenOwner) public view returns (uint getBalance); 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); } // ---------------------------------------------------------------------------- // Safe Math Library // ---------------------------------------------------------------------------- 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 AME is ERC20Interface, SafeMath{ bytes32 public name; bytes32 public symbol; uint8 public decimals; uint256 private initialSupply; uint256 public _totalSupply; address private owner; mapping(address => uint) balances; mapping(address => mapping(address => uint)) allowed; constructor() public { name = "AME Token"; symbol = "AME"; decimals = 18; _totalSupply = 1500000000 * 10 ** uint256(decimals); initialSupply = _totalSupply; balances[msg.sender] = _totalSupply; owner = msg.sender; emit Transfer(address(0), msg.sender, _totalSupply); } function totalSupply() public view returns (uint) { return safeSub(_totalSupply, balances[address(0)]); } function balanceOf(address tokenOwner) public view returns (uint getBalance) { 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 transfer(address to, uint tokens) public returns (bool success) { require(to != address(0)); 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) { require(to != address(0)); 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; } }