Transaction Hash:
Block:
21710018 at Jan-26-2025 04:55:11 PM +UTC
Transaction Fee:
0.002057481894616532 ETH
$5.63
Gas Used:
225,518 Gas / 9.123359974 Gwei
Emitted Events:
50 |
ValidatorShareProxy.0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef( 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef, 0x0000000000000000000000000000000000000000000000000000000000000000, 0x0000000000000000000000003b6011e49a629edbfdc5e9708861ff4d5979507c, 0000000000000000000000000000000000000000000000bdbc41e0348b300000 )
|
51 |
StakingInfo.ShareMinted( validatorId=118, user=[Sender] 0x3b6011e49a629edbfdc5e9708861ff4d5979507c, amount=3500000000000000000000, tokens=3500000000000000000000 )
|
52 |
StakingInfo.StakeUpdate( validatorId=118, nonce=1676, newAmount=1353200968617887082075675 )
|
53 |
PolygonEcosystemToken.Transfer( from=[Sender] 0x3b6011e49a629edbfdc5e9708861ff4d5979507c, to=StakeManagerProxy, value=3500000000000000000000 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x3B6011e4...d5979507c |
0.010512544455669149 Eth
Nonce: 248
|
0.008455062561052617 Eth
Nonce: 249
| 0.002057481894616532 | ||
0x3EDBF7E0...409364269 | |||||
0x455e53CB...44aFFC3F6 | |||||
0x5e3Ef299...e8c13D908 | (Polygon (Matic): PoS Staking Contract) | ||||
0x95222290...5CC4BAfe5
Miner
| (beaverbuild) | 11.109190172086905395 Eth | 11.109753967086905395 Eth | 0.000563795 | |
0xa59C847B...A71A7512B | (Polygon (Matic): Staking Info) |
Execution Trace
ValidatorShareProxy.e4457a8a( )

-
Registry.STATICCALL( )
ValidatorShare.buyVoucherPOL( _amount=3500000000000000000000, _minSharesToMint=0 ) => ( amountToDeposit=3500000000000000000000 )
StakeManagerProxy.7ed4b27c( )
-
StakeManager.withdrawDelegatorsReward( validatorId=118 ) => ( 170839818496339458631 )
-
StakeManagerProxy.7f4b4323( )
-
StakeManager.delegatedAmount( validatorId=118 ) => ( 1347150968617887082075675 )
-
StakeManagerProxy.9ff11500( )
-
StakeManager.updateValidatorState( validatorId=118, amount=3500000000000000000000 )
-
StakingInfo.logShareMinted( validatorId=118, user=0x3B6011e49A629edBFDC5E9708861ff4d5979507c, amount=3500000000000000000000, tokens=3500000000000000000000 )
-
Registry.STATICCALL( )
StakeManagerProxy.35aa2e44( )
-
StakeManager.validators( 118 ) => ( amount=2550000000000000000000, reward=763300991810981511211, activationEpoch=11448, deactivationEpoch=0, jailTime=0, signer=0x5fFD4EFfD8E476C72FddC75BcD31f421001F9Ce6, contractAddress=0x3EDBF7E027D280BCd8126a87f382941409364269, status=1, commissionRate=3, lastCommissionUpdate=40943, delegatorsReward=1, delegatedAmount=1350650968617887082075675, initialRewardPerStake=3038651391164385735477544 )
-
-
StakingInfo.logStakeUpdate( validatorId=118 )
-
Registry.STATICCALL( )
StakeManagerProxy.35aa2e44( )
-
StakeManager.validators( 118 ) => ( amount=2550000000000000000000, reward=763300991810981511211, activationEpoch=11448, deactivationEpoch=0, jailTime=0, signer=0x5fFD4EFfD8E476C72FddC75BcD31f421001F9Ce6, contractAddress=0x3EDBF7E027D280BCd8126a87f382941409364269, status=1, commissionRate=3, lastCommissionUpdate=40943, delegatorsReward=1, delegatedAmount=1350650968617887082075675, initialRewardPerStake=3038651391164385735477544 )
-
-
Registry.STATICCALL( )
StakeManagerProxy.35aa2e44( )
-
StakeManager.validators( 118 ) => ( amount=2550000000000000000000, reward=763300991810981511211, activationEpoch=11448, deactivationEpoch=0, jailTime=0, signer=0x5fFD4EFfD8E476C72FddC75BcD31f421001F9Ce6, contractAddress=0x3EDBF7E027D280BCd8126a87f382941409364269, status=1, commissionRate=3, lastCommissionUpdate=40943, delegatorsReward=1, delegatedAmount=1350650968617887082075675, initialRewardPerStake=3038651391164385735477544 )
-
ValidatorShareProxy.STATICCALL( )
-
Registry.STATICCALL( )
-
ValidatorShare.DELEGATECALL( )
-
-
StakeManagerProxy.4c025500( )
StakeManager.delegationDepositPOL( validatorId=118, amount=3500000000000000000000, delegator=0x3B6011e49A629edBFDC5E9708861ff4d5979507c ) => ( True )
-
PolygonEcosystemToken.transferFrom( from=0x3B6011e49A629edBFDC5E9708861ff4d5979507c, to=0x5e3Ef299fDDf15eAa0432E6e66473ace8c13D908, amount=3500000000000000000000 ) => ( True )
-
File 1 of 7: ValidatorShareProxy
File 2 of 7: StakingInfo
File 3 of 7: StakeManagerProxy
File 4 of 7: PolygonEcosystemToken
File 5 of 7: Registry
File 6 of 7: ValidatorShare
File 7 of 7: StakeManager
12345678910111213141516// File: openzeppelin-solidity/contracts/ownership/Ownable.solpragma solidity ^0.5.2;/*** @title Ownable* @dev The Ownable contract has an owner address, and provides basic authorization control* functions, this simplifies the implementation of "user permissions".*/contract Ownable {address private _owner;event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);/*** @dev The Ownable constructor sets the original `owner` of the contract to the sender
File 2 of 7: StakingInfo
12345678910111213141516// File: contracts/common/governance/IGovernance.solpragma solidity ^0.5.2;interface IGovernance {function update(address target, bytes calldata data) external;}// File: contracts/common/governance/Governable.solpragma solidity ^0.5.2;contract Governable {IGovernance public governance;
File 3 of 7: StakeManagerProxy
12345678910111213141516// File: openzeppelin-solidity/contracts/ownership/Ownable.solpragma solidity ^0.5.2;/*** @title Ownable* @dev The Ownable contract has an owner address, and provides basic authorization control* functions, this simplifies the implementation of "user permissions".*/contract Ownable {address private _owner;event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);/*** @dev The Ownable constructor sets the original `owner` of the contract to the sender
File 4 of 7: PolygonEcosystemToken
123456789101112131415// SPDX-License-Identifier: MITpragma 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 treasuryrequirements/// @custom:security-contact security@polygon.technologycontract 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;
File 5 of 7: Registry
12345678910111213141516/**Matic network contracts*/pragma solidity ^0.5.2;interface IGovernance {function update(address target, bytes calldata data) external;}contract Governable {IGovernance public governance;constructor(address _governance) public {governance = IGovernance(_governance);
File 6 of 7: ValidatorShare
12345678910111213141516pragma solidity 0.5.17;import {Registry} from "../../common/Registry.sol";import {ERC20NonTradable} from "../../common/tokens/ERC20NonTradable.sol";import {ERC20} from "openzeppelin-solidity/contracts/token/ERC20/ERC20.sol";import {StakingInfo} from "./../StakingInfo.sol";import {EventsHub} from "./../EventsHub.sol";import {OwnableLockable} from "../../common/mixin/OwnableLockable.sol";import {IStakeManager} from "../stakeManager/IStakeManager.sol";import {IValidatorShare} from "./IValidatorShare.sol";import {Initializable} from "../../common/mixin/Initializable.sol";import {IERC20Permit} from "./../../common/misc/IERC20Permit.sol";contract ValidatorShare is IValidatorShare, ERC20NonTradable, OwnableLockable, Initializable {struct DelegatorUnbond {uint256 shares;uint256 withdrawEpoch;}
File 7 of 7: StakeManager
12345678910111213141516pragma solidity 0.5.17;import {IERC20} from "openzeppelin-solidity/contracts/token/ERC20/IERC20.sol";import {Math} from "openzeppelin-solidity/contracts/math/Math.sol";import {SafeMath} from "openzeppelin-solidity/contracts/math/SafeMath.sol";import {ECVerify} from "../../common/lib/ECVerify.sol";import {Merkle} from "../../common/lib/Merkle.sol";import {GovernanceLockable} from "../../common/mixin/GovernanceLockable.sol";import {DelegateProxyForwarder} from "../../common/misc/DelegateProxyForwarder.sol";import {Registry} from "../../common/Registry.sol";import {IStakeManager} from "./IStakeManager.sol";import {IValidatorShare} from "../validatorShare/IValidatorShare.sol";import {ValidatorShare} from "../validatorShare/ValidatorShare.sol";import {StakingInfo} from "../StakingInfo.sol";import {StakingNFT} from "./StakingNFT.sol";import {ValidatorShareFactory} from "../validatorShare/ValidatorShareFactory.sol";import {StakeManagerStorage} from "./StakeManagerStorage.sol";