xMPH

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x46f2a070 at 13132353
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 44 additional slots

No balances found for "xMPH"

No transactions found for "xMPH"


Functions
Getter at block 21288080
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
DISTRIBUTOR_ROLE(view returns (bytes32)
0xfbd454f36a7e1a388bd6fc3ab10d434aa4578f811acbbcf33afb1c697486313c
MIN_AMOUNT(view returns (uint256)
1000000000
currentUnlockEndTimestamp(view returns (uint256)
0
decimals(view returns (uint8)
18
 
getPricePerFullShare(view returns (uint256)
lastRewardAmount(view returns (uint256)
0
lastRewardTimestamp(view returns (uint256)
0
mph(view returns (address)
0x0000000000000000000000000000000000000000
name(view returns (string)
rewardUnlockPeriod(view returns (uint256)
0
symbol(view returns (string)
totalSupply(view returns (uint256)
0
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
approve(address spenderuint256 amountreturns (bool)
decreaseAllowance(address spenderuint256 subtractedValuereturns (bool)
deposit(uint256 _mphAmountreturns (uint256 shareAmount)
distributeReward(uint256 rewardAmount
grantRole(bytes32 roleaddress account
increaseAllowance(address spenderuint256 addedValuereturns (bool)
initialize(address _mphuint256 _rewardUnlockPeriodaddress _distributor
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setRewardUnlockPeriod(uint256 newValue
transfer(address recipientuint256 amountreturns (bool)
transferFrom(address senderaddress recipientuint256 amountreturns (bool)
withdraw(uint256 _shareAmountreturns (uint256 mphAmount)
Events
Approval(address indexed owneraddress indexed spenderuint256 value
DistributeReward(uint256 rewardAmount
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Transfer(address indexed fromaddress indexed touint256 value
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
PRBMath__MulDivFixedPointOverflow(uint256 prod1
PRBMath__MulDivOverflow(uint256 prod1uint256 denominator