Skip to content

WhitelistedRewardEmission Contract

This contract is used to store the values of what reward token addresses have been whitelisted for a particular holder contract address. Multiple reward token addresses can be connected to a single holder contract. This also houses logic to add new pool of reward tokens and also to set / reset the emission of that token. This enables the rewards to start emitting gradually in small amounts, which are then distributed to the stakers as per their LP-Timeshare.

Sighash Function Signature
cd6dc687 initialize(address,uint256)
97e8b09f addRewards(address,address,address,uint256)
0eed6061 setRewardEmission(address,address,uint256)
321905df getEmissionData(address,address)
9ff94654 getTimestampData(address,address,address,address)
cf3d5d0d setStakeLPContract(address)
b0871ac0 setRewardPoolUserTimestamp(address,address,address,uint256)
1d6e0046 getRewardPoolUserTimestamp(address,address,address)
90bb410c setLastLPTimeShareTimestamp(address,uint256)
690a410d getLastLPTimeShareTimestamp(address)
8a836cc0 setLastCummulativeSupplyLPTimeShare(address,uint256)
7e072bb3 calculateUpdatedSupplyLPTimeShare(address,address,address,address,uint256)
4192d5da calculateUpdatedRewardPool(address,address,address)
c2b4ff79 calculateOtherPendingRewards(address,address,address,uint256,uint256)
47fa21d8 getCumulativeRewardValue(address,address,uint256)
ea7013b1 getCumulativeSupplyValue(address,uint256)
be30e840 isHolderContractWhitelisted(address)
3d00b2b1 _setHolderAddressForRewards(address,address[])
cf78f139 setHolderAddressesForRewards(address[],address[])
b75101b7 _removeHolderAddressForRewards(address)
693a4613 removeHolderAddressesForRewards(address[])
909e26ec _removeTokenContractForRewards(address,address[])
46043a1a removeTokenContractsForRewards(address[],address[])
8456cb59 pause()
3f4ba83a unpause()