TransparentUpgradeableProxy

Verified contract

Proxy

Active on Ethereum with 87 txns
Deployed by via 0xcdcc22d9 at 17997554
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 48 additional slots
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0xc68381ffe147c2a42a8a99b8642b844b7f2d28dfe399383c42eaf124d5411c94
0xd1e668ea7480459e3211a1e1b1e682184b25e8a422e02ada1c521cff753c6916
0xa0166b41646dfea2817d03eb680ae884d36f9754aff32f7273bf71fe03e4efd3
0xb8d19ca6da64303fcadf92dcf8030ca3865246d998687bb6d4d560d15846b65e
0x216f551932ace8f5cdd83c9e28c8fa7ec2146c2b1135c98ffd65780a0eb4b7fd
0x10f11345f83e536449fed20e1f8e093e44e4ffb3613c06082548cc88d2499b03
0xc279019b0c10babb3549276931e2d58457820eaf20b684a17c81cbcd8046ab31
0xf2b45ab2f471401fa8c5ada4ed05d7016f76ea1d3a9169056a4b12ba187c089e
0xa416f259a90be2022d571da6db2338af1d6aef392206180c8b6a6ad274e98ba4
0x879c1da5714c9fb4b8daf026445269eaf65427e458a1a1d8ff89245ba9f0bafd

Functions
Getter at block 20950768
lastPoolId(view returns (uint256)
360
optionFactory(view returns (address)
0x9b4329cbe172f93c0dff18101f40608be8216d85
owner(view returns (address)
0xf2a180a29e523dd74874156f13d9edba2ee42d3b
rewarder(view returns (address)
0x147ba60ecdd996ec093153db65477ad89d6e62df
Read-only
getPendingReward(uint256 poolIdaddress stakerview returns (uint256)
getPoolInfo(uint256 poolIdview returns (struct StakingPoolsPoolInfo)
getStakingAmountByPoolID(address useruint256 poolIdview returns (uint256)
poolData(uint256view returns (uint256 totalStakeAmountuint256 accuRewardPerShareuint256 accuRewardLastUpdateBlock)
poolInfos(uint256view returns (uint256 startBlockuint256 endBlockuint256 rewardPerBlockaddress poolTokenaddress optionContractbool isActive)
userData(uint256addressview returns (uint256 stakeAmountuint256 pendingRewarduint256 entryAccuRewardPerShareuint256 entryTime)
State-modifying
admin(returns (address admin_)
changeAdmin(address newAdmin
implementation(returns (address implementation_)
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
__StakingPools_init(
createPool(address tokenaddress optionContractuint256 startBlockuint256 endBlockuint256 rewardPerBlock
emergencyUnstake(uint256 poolId
extendEndBlock(uint256 poolIduint256 newEndBlock
redeemRewards(uint256 poolId
redeemRewardsByAddress(uint256 poolIdaddress user
redeemRewardsByList(uint256[] poolIds
renounceOwnership(
setFactory(address newFactory
setIsActive(uint256 poolIdbool isActive
setPoolReward(uint256 poolIduint256 newRewardPerBlock
setRewarder(address newRewarder
stake(uint256 poolIduint256 amount
stakeFor(uint256 poolIduint256 amountaddress user
transferOwnership(address newOwner
unstake(uint256 poolIduint256 amount
unstakeAndRedeemReward(uint256 poolIduint256 amount
unstakeFor(uint256 poolIduint256 amountaddress user
Events
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
Upgraded(address indexed implementation
FactoryChanged(address oldFactoryaddress newFactory
IsActiveChanged(uint256 indexed poolIdbool isActive
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
PoolCreated(uint256 indexed poolIdaddress indexed tokenaddress indexed optionContractuint256 startBlockuint256 endBlockuint256 rewardPerBlock
PoolEndBlockExtended(uint256 indexed poolIduint256 oldEndBlockuint256 newEndBlock
PoolRewardRateChanged(uint256 indexed poolIduint256 oldRewardPerBlockuint256 newRewardPerBlock
RewardRedeemed(uint256 indexed poolIdaddress indexed stakeraddress rewarderuint256 amount
RewarderChanged(address oldRewarderaddress newRewarder
Staked(uint256 indexed poolIdaddress indexed stakeraddress tokenuint256 amount
Unstaked(uint256 indexed poolIdaddress indexed stakeraddress tokenuint256 amount
Constructor
constructor(address _logicaddress admin_bytes _data
Fallback and receive
fallback(
receive(
Errors

This contract contains no error objects.