oGPUStaking

Verified contract

Active on Ethereum with 992 txns
Deployed by via 0x3124b504 at 20505027
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $117,037.9
ERC-20
Value $17,439,795.69
0x2385ca52209e75837d8f4b71fa834c212aaf8051c99a80f6e8c1ede7b1f6d20b
0x2c36e0e042743e0c520e0a84a8b01ffbd45ffaa82c9583f9b573a989b1ee49e0
0x064cbba5243a95443cf750ffbcfa6a4b12e71e1fff303be612b822453bc82dc3
0x240db193be51288757f3191d5108e594c7eef4a4d5329daa4b6f79bb0db8d468
0xa4c3a62b2c5102dec14183b730c2a0a704e7e33b71bf4533eba9cddce1e7d82e
0xe4e02941abecc6e2f91f026bae6a422fea16db3022e7856bd2f60dfaf0e037b8
0xd34e337d41954e0c3454d33f7d6e12aa18deb04702352700163cfb6f86f68995
0xbff220d9ee4a44a63b698853f72a1958ba0419867a4a55ca466e1be5e5d6de86
0x8de947b8103886a60274cde539a86858ca9a1c6163e10b02146208a79369f44d
0xef4fc69267610cbf86ba0dc0919fbbaac2fc223d4d5f4ad9975b0fe4764e9785

Functions
Getter at block 21247950
gpuId(view returns (uint256)
0
oGPU(view returns (address)
0x067def80d66fb69c276e53b641f37ff7525162f6
owner(view returns (address)
0x8ac2326a76e60fe146ab9556fed70822515b59a8
Read-only
getPoolUser(uint256 _poolIdaddress _userview returns (struct oGPUStakingUserInfo)
getPoolUserReward(uint256 _poolIdaddress _userview returns (uint256)
getPoolUsers(uint256 _poolIdview returns (struct oGPUStakingUserInfo[])
getPoolUsersLength(uint256 _poolIdview returns (uint256)
getPoolUsersWithShares(uint256 _poolIdview returns (struct oGPUStakingUserInfoWithShares[])
getPoolUsersWithSharesRange(uint256 _poolIduint256 _startuint256 _endview returns (struct oGPUStakingUserInfoWithShares[])
getUserInfo(uint256 _poolIdaddress _userview returns (struct oGPUStakingUserInfo)
poolInfo(uint256view returns (uint256 poolIduint256 totalPointsuint256 totalAmountuint256 totalETHStakeduint256 startTimeuint256 durationuint256 endTimebool ended)
poolUsers(uint256uint256view returns (address useruint256 poolIduint256 amountuint256 stakeTimeuint256 pointsuint256 gpuIdbool claimeduint256 lastBoostTimeuint256 claimedETHuint256 claimedoGPU)
userInfoMap(uint256addressview returns (address useruint256 poolIduint256 amountuint256 stakeTimeuint256 pointsuint256 gpuIdbool claimeduint256 lastBoostTimeuint256 claimedETHuint256 claimedoGPU)
userPoolIndex(addressuint256view returns (uint256)
State-modifying
addETHToPool(uint256 _poolIduint256 _amountpayable 
claim(uint256 _poolId
createPool(
emergencyWithdraw(uint256 _poolId
enableClaim(bool _claim
endPool(uint256 _poolId
renounceOwnership(
retrieveETH(
retrieveoGPU(
stake(uint256 _poolIduint256 _amountuint256 _gpuID
transferOwnership(address newOwner
Events
Claimed(address indexed useruint256 poolIduint256 amount
EmergencyWithdraw(address indexed useruint256 poolIduint256 amount
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
PoolCreated(uint256 stakeIDuint256 stakingStartTimestampuint256 durationuint256 stakingEndTimestamp
PoolEnded(uint256 poolIduint256 endTime
Staked(address indexed useruint256 amountuint256 gpuType
Constructor
constructor(address _oGPU
Fallback and receive
receive(
Errors
ReentrancyGuardReentrantCall(