ETH Price: $3,756.32 (-2.38%)
Gas: 0.99 Gwei

Transaction Decoder

Block:
21799346 at Feb-08-2025 04:15:11 AM +UTC
Transaction Fee:
0.000059432814648526 ETH $0.22
Gas Used:
46,043 Gas / 1.290811082 Gwei

Emitted Events:

446 PolygonEcosystemToken.Approval( owner=[Sender] 0xa4861fd3be606e73109899e464b92b9c7e77b866, spender=0x0439e60F...7f400C3f1, value=17462627000000000000 )

Account State Difference:

  Address   Before After State Difference Code
0x455e53CB...44aFFC3F6
(beaverbuild)
17.077315596004689643 Eth17.077338617504689643 Eth0.0000230215
0xa4861fd3...C7E77b866
0.002844321716920786 Eth
Nonce: 5
0.00278488890227226 Eth
Nonce: 6
0.000059432814648526

Execution Trace

PolygonEcosystemToken.approve( spender=0x0439e60F02a8900a951603950d8D4527f400C3f1, amount=17462627000000000000 ) => ( True )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// SPDX-License-Identifier: MIT
pragma solidity 0.8.21;
import {ERC20, ERC20Permit, IERC20} from "openzeppelin-contracts/contracts/token/ERC20/extensions/ERC20Permit.sol";
import {AccessControlEnumerable} from "openzeppelin-contracts/contracts/access/AccessControlEnumerable.sol";
import {IPolygonEcosystemToken} from "./interfaces/IPolygonEcosystemToken.sol";
/// @title Polygon ERC20 token
/// @author Polygon Labs (@DhairyaSethi, @gretzke, @qedk, @simonDos)
/// @notice This is the Polygon ERC20 token contract on Ethereum L1
/// @dev The contract allows for a 1-to-1 representation between $POL and $MATIC and allows for additional emission based on hub and treasury
    requirements
/// @custom:security-contact security@polygon.technology
contract PolygonEcosystemToken is ERC20Permit, AccessControlEnumerable, IPolygonEcosystemToken {
bytes32 public constant EMISSION_ROLE = keccak256("EMISSION_ROLE");
bytes32 public constant CAP_MANAGER_ROLE = keccak256("CAP_MANAGER_ROLE");
bytes32 public constant PERMIT2_REVOKER_ROLE = keccak256("PERMIT2_REVOKER_ROLE");
address public constant PERMIT2 = 0x000000000022D473030F116dDEE9F6B43aC78BA3;
uint256 public mintPerSecondCap = 13.37e18;
uint256 public lastMint;
bool public permit2Enabled;
constructor(
address migration,
address emissionManager,
address protocolCouncil,
address emergencyCouncil
) ERC20("Polygon Ecosystem Token", "POL") ERC20Permit("Polygon Ecosystem Token") {
if (
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX