Transaction Hash:
Block:
22660541 at Jun-08-2025 02:44:11 PM +UTC
Transaction Fee:
0.000074925888729198 ETH
$0.20
Gas Used:
46,182 Gas / 1.622404589 Gwei
Emitted Events:
392 |
MerchantToken.Approval( tokenOwner=[Sender] 0xc58823dd7c75547e8f8cd482c6fb1820263c2283, spender=0xAC4c6e21...E63F80b75, tokens=116765957446808523060 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x4838B106...B0BAD5f97
Miner
| (Titan Builder) | 7.317627492203356177 Eth | 7.317655201403356177 Eth | 0.0000277092 | |
0xC58823dD...0263C2283 |
0.000773088234015669 Eth
Nonce: 5
|
0.000698162345286471 Eth
Nonce: 6
| 0.000074925888729198 | ||
0xE66b3AA3...69DB3324F |
Execution Trace
MerchantToken.approve( spender=0xAC4c6e212A361c968F1725b4d055b47E63F80b75, tokens=116765957446808523060 ) => ( success=True )
approve[MerchantToken (ln:55)]
Approval[MerchantToken (ln:57)]
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; } }