Warden

Verified contract

Active on Ethereum with 230 txns
Deployed by via 0xf93b024c at 15300315
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
8 additional variables
ERC-20
Value $822.98
0x7ebdd6cac5cb87a066eeb2d52a8ed2c1c2e7196ba177f527261e80a26e49b01d
0x4fa1be9dae084b7a12c573ede9b3430f901dbf0c4b113fb340ab4515876aeb0f
0xfcb79c64865f709baa383874ac39a1bfffe5d3d3418441e8bff2bd5eac16faa6
0xf1f67f496cbffd775703b227a653be1e84d86916fcd18476055251d2147d820f
0x53ee63cc9371b6b25beb3ef6a4d1fa0314ce611acfeaed962bd784ca66f72801
0x32b9bb0a411a653e0f5cc180c2a10eb94814420e965c11756c7a8fb2262093bb
0x8bc3f64fc86882d0c91b5e8f44ada15ca2a38ac242f2c4fbacd893aba8a1f57b
0x640d2598317648f7a873a96c9bbe2650f5158b2b53f41c1b59d7166d52969cd6
0xcec4c6609558645fd2b40fd8b06149033c7dec7256508d056274d3190c16bbb3
0x2903f3a4f050f18a17c510f4e4afcec7ad71f8255d0bae70ce66fbce1e096761

Functions
Getter at block 21264832
MAX_PCT(view returns (uint256)
10000
MAX_UINT(view returns (uint256)
115792089237316195423570985008687907853269984665640564039457584007913129639935
UNIT(view returns (uint256)
1000000000000000000
WEEK(view returns (uint256)
604800
advisedPrice(view returns (uint256)
793650793
baseWeeklyDropPerVote(view returns (uint256)
0
currentPeriod(view returns (uint256)
1732147200
delegationBoost(view returns (address)
0xd37a6aa3d8460bd2b6536d608103d880695a23cd
extraPaidPast(view returns (uint256)
0
feeReserveRatio(view returns (uint256)
500
feeToken(view returns (address)
0xd533a949740bb3306d119cc777fa900ba034cd52
minDelegationTime(view returns (uint256)
604800
minPercRequired(view returns (uint256)
1000
minWeeklyDropPerVote(view returns (uint256)
0
nextBoostId(view returns (uint256)
147
nextUpdatePeriod(view returns (uint256)
0
offersIndex(view returns (uint256)
103
owner(view returns (address)
0x0792dcb7080466e4bbc678bdb873fe7d969832b8
paused(view returns (bool)
false
remainingRewardPastPeriod(view returns (uint256)
0
reserveAmount(view returns (uint256)
120043896153053425991
reserveManager(view returns (address)
0x0792dcb7080466e4bbc678bdb873fe7d969832b8
rewardToken(view returns (address)
0x0000000000000000000000000000000000000000
targetPurchaseAmount(view returns (uint256)
0
votingEscrow(view returns (address)
0x5f3b5dfeb7b28cdbd7faba78963ee202a494e2a2
Read-only
approvedManagers(addressview returns (bool)
canDelegate(address delegatoruint256 amountview returns (bool)
canDelegatePercent(address delegatoruint256 percentview returns (bool)
claimable(address userview returns (uint256)
earnedFees(addressview returns (uint256)
estimateFees(address delegatoruint256 amountuint256 durationview returns (uint256)
estimateFeesPercent(address delegatoruint256 percentuint256 durationview returns (uint256)
getBoostReward(uint256 boostIdview returns (uint256)
getOffer(uint256 indexview returns (address useruint256 pricePerVoteuint64 maxDurationuint64 expiryTimeuint16 minPercuint16 maxPerc)
getPurchasedBoost(uint256 boostIdview returns (struct WardenPurchasedBoost)
getUserPurchasedBoosts(address userview returns (uint256[])
offers(uint256view returns (address useruint256 pricePerVoteuint64 maxDurationuint64 expiryTimeuint16 minPercuint16 maxPercbool useAdvicePrice)
periodDropPerVote(uint256view returns (uint256)
periodEndPurchasedDecrease(uint256view returns (uint256)
periodPurchasedAmount(uint256view returns (uint256)
periodPurchasedDecreaseChanges(uint256view returns (uint256)
periodRewardIndex(uint256view returns (uint256)
purchasedBoosts(uint256view returns (uint256 amountuint256 startIndexuint128 startTimestampuint128 endTimestampaddress buyerbool claimed)
userIndex(addressview returns (uint256)
userPurchasedBoosts(addressuint256view returns (uint256)
State-modifying
approveManager(address newManager
blockClaim(
buyDelegationBoost(address delegatoraddress receiveruint256 amountuint256 durationuint256 maxFeeAmountreturns (uint256)
buyDelegationBoostPercent(address delegatoraddress receiveruint256 percentuint256 durationuint256 maxFeeAmountreturns (uint256)
claim(returns (bool)
claimBoostReward(uint256 boostIdreturns (bool)
claimMultipleBoostReward(uint256[] boostIdsreturns (bool)
depositToReserve(address fromuint256 amountreturns (bool)
pause(
quit(returns (bool)
register(uint256 pricePerVoteuint64 maxDurationuint64 expiryTimeuint16 minPercuint16 maxPercbool useAdvicePricereturns (bool)
removeManager(address manager
renounceOwnership(
setAdvisedPrice(uint256 newPrice
setBaseWeeklyDropPerVote(uint256 newBaseWeeklyDropPerVote
setDelegationBoost(address newDelegationBoost
setFeeReserveRatio(uint256 newFeeReserveRatio
setMinDelegationTime(uint256 newMinDelegationTime
setMinPercRequired(uint256 newMinPercRequired
setMinWeeklyDropPerVote(uint256 newMinWeeklyDropPerVote
setReserveManager(address newReserveManager
setTargetPurchaseAmount(uint256 newTargetPurchaseAmount
startRewardDistribution(address _rewardTokenuint256 _baseWeeklyDropPerVoteuint256 _minWeeklyDropPerVoteuint256 _targetPurchaseAmount
transferOwnership(address newOwner
unblockClaim(
unpause(
updateOffer(uint256 pricePerVoteuint64 maxDurationuint64 expiryTimeuint16 minPercuint16 maxPercbool useAdvicePricereturns (bool)
updateOfferPrice(uint256 pricePerVotebool useAdvicePricereturns (bool)
updateRewardState(returns (bool)
withdrawERC20(address tokenuint256 amountreturns (bool)
withdrawFromReserve(uint256 amountreturns (bool)
Events
BoostPurchase(address indexed delegatoraddress indexed receiveruint256 tokenIduint256 amountuint256 priceuint256 paidFeeAmountuint256 expiryTime
Claim(address indexed useruint256 amount
ClaimReward(uint256 boostIdaddress indexed useruint256 amount
NewAdvisedPrice(uint256 newPrice
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Paused(address account
Quit(address indexed user
Registred(address indexed useruint256 price
Unpaused(address account
UpdateOffer(address indexed useruint256 newPrice
UpdateOfferPrice(address indexed useruint256 newPrice
Constructor
constructor(address _feeTokenaddress _votingEscrowaddress _delegationBoostuint256 _feeReserveRatiouint256 _minPercRequireduint256 _advisedPrice
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AlreadyClaimed(
AlreadyRegistered(
BaseDropTooLow(
BoostRewardsNull(
CallerNotAllowed(
CallerNotManager(
CannotClaim(
CannotDelegate(
CannotWithdrawFeeToken(
ClaimBlocked(
ClaimNotBlocked(
DurationOverOfferMaxDuration(
DurationTooShort(
FailRewardUpdate(
FeesTooLow(
IncorrectExpiry(
InsufficientCash(
InsufficientRewardCash(
InvalidBoostId(
InvalidValue(
LockEndTooShort(
MaxPercTooHigh(
MinDropTooHigh(
MinPercOverMaxPerc(
MinPercTooLow(
NotBoostBuyer(
NotOfferOwner(
NotRegistered(
NullClaimAmount(
NullFees(
NullMaxDuration(
NullPrice(
NullValue(
OfferExpired(
PercentOutOfferBonds(
PercentOverMax(
PercentUnderMinRequired(
ReserveTooLow(
RewardsAlreadyStarted(
RewardsNotStarted(
RewardsNotUpdated(
WardenNotOperator(
ZeroAddress(