Transaction Hash:
Block:
22789225 at Jun-26-2025 02:30:35 PM +UTC
Transaction Fee:
0.00037643539384293 ETH
$1.12
Gas Used:
46,110 Gas / 8.163855863 Gwei
Emitted Events:
103 |
MerchantToken.Approval( tokenOwner=[Sender] 0x1b7647ac6967e67ee29876ea4c74eea27ad36bde, spender=0x00000000...072C22734, tokens=31310423580558769129 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x1B7647AC...27ad36BDe |
0.008456473543952933 Eth
Nonce: 6
|
0.008080038150110003 Eth
Nonce: 7
| 0.00037643539384293 | ||
0x388C818C...7ccB19297
Miner
| (Lido: Execution Layer Rewards Vault) | 8.576240317144849095 Eth | 8.576268291717810645 Eth | 0.00002797457296155 | |
0xE66b3AA3...69DB3324F |
Execution Trace
MerchantToken.approve( spender=0x0000000000001fF3684f28c67538d4D072C22734, tokens=31310423580558769129 ) => ( 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; } }