LatticeStakingPool

Verified contract

Active on Ethereum with 4,609 txns
Deployed by via 0x1aa480e2 at 12951204
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $10,022.27
0x33bac7a47ca4901924c5aa7d8f8430bb247cbc499bd5cc4e2ec238cd6e82c783
0x8d12b2fd42b08399f70705020258b102551dd6374c7361234aafc72ff8e824aa
0xb16f44ccee0ffafc701519d4b74f42b8bbfc38c9c469c8c7486f4f3e3fad02fa
0x3bb8d6bf41a88e0df906a24a465fd5901c1a6c9efe5ca2179a6f402ae9bbf3dd
0xc676777a7f652705b7d04668946cb0758ef611f14c7bd4aefb6bed13a868d88c
0xe8d84474e0fb0df7393508303088c038504ec20ad46d990406ae8377a06b6e5d
0x1891c7fd7d32138ae280334f76caa26ee9991fd292243525fad6e57abce1ab75
0x42a8f11e5c3be635c362833373faf74e217d94142bf2f9e091e64f304802b35d
0x73272acdf945262df54a302bac5a8076f7202c96289c0ab903a7e52a51227c18
0x9b3bbd154d9c19d7eb79703f99db9803be201fca8c7f10adece9e0a7625409c7

Functions
Getter at block 21245031
numberOfProjects(view returns (uint256)
13
stakingToken(view returns (address)
0xa393473d64d2f9f026b60b6df7859a689715d092
Read-only
didUserWithdrawFunds(uint256uint256addressview returns (bool)
getAmountStakedByUserInPool(uint256 _projectIduint256 _poolIdaddress _addressview returns (uint256)
getPercentageAmountStakedByUserInPool(uint256 _projectIduint256 _poolIdaddress _addressview returns (uint256)
getTotalAmountStakedInPool(uint256 _projectIduint256 _poolIdview returns (uint256)
getTotalAmountStakedInProject(uint256 _projectIdview returns (uint256)
getTotalStakingInfoForProjectPerPool(uint256 _projectIduint256 _poolIduint256 _pageNumberuint256 _pageSizeview returns (struct LatticeStakingPoolUserInfo[])
getWhitelistedAddressesForProject(uint256 _projectIdview returns (address[])
isAddressWhitelisted(uint256 _projectIdaddress _addressview returns (bool)
isProjectNameTaken(stringview returns (bool)
numberOfPools(uint256 _projectIdview returns (uint256)
projectIdToWhitelistedAddress(uint256addressview returns (bool)
projectNameToProjectId(stringview returns (uint256)
projects(uint256view returns (string nameuint256 totalAmountStakeduint256 numberOfPoolsuint256 startBlockuint256 endBlock)
stakingPoolInfo(uint256uint256view returns (uint256 maxStakingAmountPerUseruint256 totalAmountStaked)
userStakedAmount(uint256uint256addressview returns (uint256)
State-modifying
addProject(string _nameuint256 _startBlockuint256 _endBlock
addStakingPool(uint256 _projectIduint256 _maxStakingAmountPerUser
deposit(uint256 _projectIduint256 _poolIduint256 _amount
disableProject(uint256 _projectId
whitelistAddresses(uint256 _projectIdaddress[] _newAddressesToWhitelist
withdraw(uint256 _projectIduint256 _poolId
Events
Deposit(address indexed _useruint256 indexed _projectIduint256 indexed _poolIduint256 _amount
PoolAdded(uint256 indexed _projectIduint256 indexed _poolId
ProjectAdded(uint256 indexed _projectIdstring _projectName
ProjectDisabled(uint256 indexed _projectId
Withdraw(address indexed _useruint256 indexed _projectIduint256 indexed _poolIduint256 _amount
Constructor
constructor(address _stakingToken
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.