MaticX

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xaeb179d1 at 14571379
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 44 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots

No balances found for "MaticX"

No transactions found for "MaticX"


Functions
Getter at block 21158245
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
INSTANT_POOL_OWNER(view returns (bytes32)
0x2572658b6bf2c752d416f25a897890508cdc1ac8fd4845e04dcb7ecd022249fb
decimals(view returns (uint8)
18
feePercent(view returns (uint8)
0
getContracts(view returns (address _stakeManageraddress _polygonERC20address _validatorRegistry)
(_stakeManager=0x0000000000000000000000000000000000000000, _polygonERC20=0x0000000000000000000000000000000000000000, _validatorRegistry=0x0000000000000000000000000000000000000000)
 
getTotalPooledMatic(view returns (uint256)
 
getTotalStakeAcrossAllValidators(view returns (uint256)
instantPoolMatic(view returns (uint256)
0
instantPoolMaticX(view returns (uint256)
0
instantPoolOwner(view returns (address)
0x0000000000000000000000000000000000000000
name(view returns (string)
paused(view returns (bool)
false
symbol(view returns (string)
totalSupply(view returns (uint256)
0
treasury(view returns (address)
0x0000000000000000000000000000000000000000
version(view returns (string)
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
convertMaticToMaticX(uint256 _balanceview returns (uint256uint256uint256)
convertMaticXToMatic(uint256 _balanceview returns (uint256uint256uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
getSharesAmountOfUserWithdrawalRequest(address _addressuint256 _idxview returns (uint256)
getTotalStake(address _validatorShareview returns (uint256uint256)
getUserWithdrawalRequests(address _addressview returns (struct IMaticXWithdrawalRequest[])
hasRole(bytes32 roleaddress accountview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
approve(address spenderuint256 amountreturns (bool)
claimWithdrawal(uint256 _idx
decreaseAllowance(address spenderuint256 subtractedValuereturns (bool)
grantRole(bytes32 roleaddress account
increaseAllowance(address spenderuint256 addedValuereturns (bool)
initialize(address _validatorRegistryaddress _stakeManageraddress _polygonERC20address _manageraddress _instantPoolOwneraddress _treasury
migrateDelegation(uint256 _fromValidatorIduint256 _toValidatorIduint256 _amount
mintMaticXToInstantPool(
provideInstantPoolMatic(uint256 _amount
provideInstantPoolMaticX(uint256 _amount
renounceRole(bytes32 roleaddress account
requestWithdraw(uint256 _amount
revokeRole(bytes32 roleaddress account
setFeePercent(uint8 _feePercent
setInstantPoolOwner(address _address
setTreasury(address _address
setValidatorRegistry(address _address
setVersion(string _version
stakeRewardsAndDistributeFees(uint256 _validatorId
submit(uint256 _amountreturns (uint256)
swapMaticForMaticXViaInstantPool(uint256 _amount
togglePause(
transfer(address touint256 amountreturns (bool)
transferFrom(address fromaddress touint256 amountreturns (bool)
withdrawInstantPoolMatic(uint256 _amount
withdrawInstantPoolMaticX(uint256 _amount
withdrawRewards(uint256 _validatorIdreturns (uint256)
Events
Approval(address indexed owneraddress indexed spenderuint256 value
ClaimWithdrawal(address indexed _fromuint256 indexed _idxuint256 _amountClaimed
Delegate(uint256 indexed _validatorIduint256 _amountDelegated
DistributeFees(address indexed _addressuint256 _amount
MigrateDelegation(uint256 indexed _fromValidatorIduint256 indexed _toValidatorIduint256 _amount
Paused(address account
RequestWithdraw(address indexed _fromuint256 _amountMaticXuint256 _amountMatic
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
SetFeePercent(uint8 _feePercent
SetInstantPoolOwner(address _address
SetTreasury(address _address
SetValidatorRegistry(address _address
SetVersion(string _version
StakeRewards(uint256 indexed _validatorIduint256 _amountStaked
Submit(address indexed _fromuint256 _amount
Transfer(address indexed fromaddress indexed touint256 value
Unpaused(address account
WithdrawRewards(uint256 indexed _validatorIduint256 _rewards
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.