PROPCStakingV2

Verified contract

Active on Ethereum with 310 txns
Deployed by via 0x24b3db99 at 19566738
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $2,798,222.04
0x766a39292e35941172c88c2913dc871d0f073e22d36ceac5008555f405bd0d4c
0x4668dcfbb2bb7534b1218d9ebb1d1ae7a08c2a47159b5e15c4eb0acbd8addfa7
0x96a095e752480e420c8212806ba488e5485f1fb9d505f012def9fcb6978f54a1
0xa40b7c6d3e154a18e06be784239392373a4ada85a6d2dad6fcdc35b922503e88
0xa8ad2be481ff2ff6e05f4f3fd1190790298c01dbfdd082008d91440f4101cac9
0x790442e59392ee6fb5931da3f15f90fe1ab3b465120e3d32b7cd6984d88ace98
0x7bfed55401601619d1010af80d2a894962a3a1320c1c6aa396d4c2833699b565
0x295cfa5b7293250680d5ba92b52a064e89b865c016b9d71f91481cb1cfc311cc
0x2ba0b3d1ead2f69ebf6ff27bd70a10de57850d6c1b24738cece7a8b3b7b73a4b
0x7a97ac80b32a8c66a550634132c7eb807bd01fe66bd6cb3e7db40ac218bd6703

Functions
Getter at block 21157367
YEAR(view returns (uint256)
31536000
_panel(view returns (address)
0xd2f2975aa43f2790b86ee89b4ef5392a338d8796
poolLength(view returns (uint256)
4
propcToken(view returns (address)
0x9ff58067bd8d239000010c154c6983a325df138e
rewardsWallet(view returns (address)
0xacf966c211f015f43ae8bdd8bafd0c91d1b73a58
totalPools(view returns (uint256)
4
Read-only
allPendingRewardsToken(address _userview returns (uint256[])
getPoolInfo(uint256 _pidview returns (uint256 startTimeaddress rewardsTokenaddress penaltyWalletuint256 apyPercentuint256 totalStakedbool activeuint256 claimTimeLimituint256 minStakeAmountuint256 penaltyFeeuint256 penaltyTimeLimitbool isVIPPool)
getStakesInfo(uint256 _pidaddress _accountview returns (struct PROPCStakingV2Stake[])
getTimespanInSeconds(uint256 _fromuint256 _topure returns (uint256)
getUserInfo(uint256 _pidaddress _accountview returns (uint256 amount)
pendingRewardsForStake(uint256 _pidaddress _useruint256 _stakeIdview returns (uint256)
rewardsForPool(uint256 _pidaddress _userview returns (uint256)
stakes(uint256addressuint256view returns (uint256 amountuint256 stakeTimestampuint256 totalRedeemeduint256 lastClaimTimestamp)
State-modifying
addVIPAddress(uint256 _pidaddress _vipAddress
addVIPAddresses(uint256 _pidaddress[] _vipAddresses
emergencyWithdrawal(uint256 _pid
leavePool(uint256 _pid
redeem(uint256 _pid
redeemAll(
removeVIPAddress(uint256 _pidaddress _vipAddress
removeVIPAddresses(uint256 _pidaddress[] _vipAddresses
setPool(uint256 _idToChangeuint256 _startTimeaddress _rewardsTokenuint256 _apyPercentuint256 _claimTimeLimituint256 _penaltyFeeuint256 _penaltyTimeLimitbool _activeaddress _penaltyWalletbool _isVIPPoolbool _hasDecreasingPenaltyuint256 _minStakeAmountuint256 _maxTotalStake
stake(uint256 _piduint256 _amount
unstake(uint256 _piduint256 _amountuint256 _stakeId
updateRewardsWallet(address _wallet
Events
DeleteStake(address indexed useruint256 indexed pid
Deposit(address indexed useruint256 indexed piduint256 amount
NewVIP(address indexed user
NoVIP(address indexed user
PoolSet(address indexed adminuint256 indexed piduint256 _apyPercentuint256 _claimTimeLimituint256 _penaltyFeeuint256 _penaltyTimeLimitbool _activebool _isVIPPoolbool _hasDecreasingPenalty
Redeem(address indexed useruint256 indexed piduint256 amount
RewardsWalletUpdate(address indexed wallet
Withdraw(address indexed useruint256 indexed piduint256 amount
Constructor
constructor(address _propcaddress _rewardsWalletaddress adminPanel
Fallback and receive

This contract contains no fallback and receive objects.

Errors
APYInvalid(
AlreadyInitialized(
BelowPoolMinimum(
CallerNotAdmin(
IndexOutOfBounds(
InsufficientBalance(uint256 arg0
InsufficientRewards(
InsufficientStakeLimit(
NoRewardsAvailable(
NotEnoughStaked(
NotVIPPool(
NotVIPQualified(
PenaltyTooHigh(
PoolDoesNotExist(
PoolInactive(
PoolNotOpened(
TooManyStakes(uint256 arg0
ZeroAddress(
ZeroAmount(