TransparentUpgradeableProxy

Verified contract

Proxy

Active on Ethereum with 1,138 txns
Deployed by via 0x69930664 at 20086526
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 48 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
ERC-20
Value $394,862.93
ERC-20
--
ERC-20
--
0xcd28353137c27ac831f39a3ea26376e40c8c3d0324509a31fecb5480af478865
0xa5faa87ceaad9f3d7559f275b1dcfd8bc67aef725bb691968854a0f913b9a8cf
0xcd6e2c0cb7557b36a44d484ee6178b7b25c2a201a07cbc74018649eaff357f67
0x5f8399da0fa0a1d3c7ef9e48ec9162161aceb85f81296332f22fc1c746c092ad
0xcc90fb3935bf39206d32591b5a5271679e5179f46f7c875b35d7c01056f06230
0xe6c7e794d11c1f1c4d95a37d5ee0eb8328ba32a3fe0eafd1d0ebe68c2e9016a4
0x8afb3bc24cd9509845f02e282373b17a36fc421c4bb51f8c518339c112753d74
0x708333d54fb777b07a85648283abfc31ca245794941392ae82c80bd672f2e0c7
0x2caf0a4edc5c902b5fff01c7f4850454b9f7039ba1dbc042658d6e090580bfe7
0x7ed398755f32ba9dc3171e6772e5417d8c80fc1d790dda168913ab81fbff3054

Functions
Getter at block 21296759
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MAX_STAKING_PERIOD(view returns (uint256)
125798400
MIN_STAKING_PERIOD(view returns (uint256)
7257600
extendPeriodEnabled(view returns (bool)
true
lastRewardRate(view returns (uint256)
33030771466698
lastRewardTime(view returns (uint256)
1732761515
moreStakingEnabled(view returns (bool)
true
relockEnabled(view returns (bool)
false
rewardPerShare(view returns (uint256)
21139589270888135
rewardToken(view returns (address)
0x74e6cac32234133fe06bd0f4d8237dee1dede057
stakingToken(view returns (address)
0x5fe72ed557d8a02fff49b3b826792c765d5ce162
totalShares(view returns (uint256)
92934446325885532996749
totalStaked(view returns (uint256)
128202248625820315839610
Read-only
calculateShares(uint256 amountuint256 stakingPeriodpure returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
getUserStake(address userview returns (uint256 amountuint256 sharesuint256 stakingPerioduint256 startTimeuint256 rewardDebt)
hasRole(bytes32 roleaddress accountview returns (bool)
isUnlocked(address userview returns (bool)
pendingRewards(address userview returns (uint256)
stakes(addressview returns (uint256 amountuint256 sharesuint256 stakingPerioduint256 startTimeuint256 rewardDebt)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
admin(returns (address admin_)
changeAdmin(address newAdmin
implementation(returns (address implementation_)
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
addMoreStaking(uint256 amount
addRewards(uint256 amount
claim(
enableExtendPeriod(bool enable
enableMoreStaking(bool enable
enableRelock(bool enable
extendStakingPeriod(uint256 newStakingPeriod
grantRole(bytes32 roleaddress account
initialize(address _stakingTokenaddress _rewardToken
lock(uint256 amountuint256 stakingPeriod
relock(uint256 newStakingPeriod
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
unlock(
Events
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
Upgraded(address indexed implementation
Claimed(address indexed useruint256 rewards
ExtendsPeriod(address indexed useruint256 period
Initialized(uint8 version
Relocked(address indexed useruint256 period
RewardsAdded(uint256 rewards
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Staked(address indexed useruint256 amountuint256 lockPeriod
Withdrawn(address indexed useruint256 amount
Constructor
constructor(address _logicaddress admin_bytes _data
Fallback and receive
fallback(
receive(
Errors
AlreadyLocked(address user
Disabled(
InvalidStakingPeriod(
NoStaking(address user
NotLocked(address user
NotUnlocked(address user