DividendsV2

Verified contract

Active on Base with 3,409 txns
Deployed by via 0x33a2d7bc at 6929305
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
ERC-20
Value $623.84
ERC-20
Value $0.06
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0x80cf170c88f6994bab5a8d88fb83665398fcedb213120dfc5671850f325e9944
0x4c4b65fc17dd76f2a868ee4827eec5c479646f6dc07c6812f5616e5cedc1473d
0xd5a4630c0e210845cd6a9b198984160bd38803b0f703ac326759dd48923acf5b
0x9f4350f5227c1255818d6a652bfef96d7d25db77608425e14defae1129169fcf
0xd7194e0edfc754685555008236ecd58a226ee930559226ca7a3ded52c1a08e25
0x79df557c11e01e1f89ce007989e88be620037870bb5e55d4fae3ea25c5e8f5e1
0xe38ba96647962c8e0410eb622c17e3e7154b280ff6def64ebb185d80976c16de
0x5c1327fe9781311667bdfec9a7219cdbcc990b8194b223a5bbc1158f13f6e8ed
0x2ac24396ebfbc1d9bae601fce07551d6e8814336f19a58b1d24013dc665011e6
0xaafe7b1853cdf12a58cd735bf46f851e625235af0df75c6ad5b9519b36f563c8

Functions
Getter at block 21779189
DEFAULT_CYCLE_DIVIDENDS_PERCENT(view returns (uint256)
100
MAX_CYCLE_DIVIDENDS_PERCENT(view returns (uint256)
10000
MAX_DISTRIBUTED_TOKENS(view returns (uint256)
10
MIN_CYCLE_DIVIDENDS_PERCENT(view returns (uint256)
1
currentCycleStartTime(view returns (uint256)
1728489600
cycleDurationSeconds(view returns (uint256)
604800
distributedTokensLength(view returns (uint256)
2
nextCycleStartTime(view returns (uint256)
1729094400
owner(view returns (address)
0xef48e77174c6e7f7357190a0b84e8d29d2983d65
totalAllocation(view returns (uint256)
3826095652842207073572834
xGrailToken(view returns (address)
0xb1bd114648ac22d21d7f2bff63d629c1bb666d09
Read-only
distributedToken(uint256 indexview returns (address)
dividendsInfo(addressview returns (uint256 currentDistributionAmountuint256 currentCycleDistributedAmountuint256 pendingAmountuint256 distributedAmountuint256 accDividendsPerShareuint256 lastUpdateTimeuint256 cycleDividendsPercentbool distributionDisabled)
isDistributedToken(address tokenview returns (bool)
pendingDividendsAmount(address tokenaddress userAddressview returns (uint256)
users(addressaddressview returns (uint256 pendingDividendsuint256 rewardDebt)
usersAllocation(addressview returns (uint256)
State-modifying
addDividendsToPending(address tokenuint256 amount
allocate(address userAddressuint256 amountbytes
deallocate(address userAddressuint256 amountbytes
disableDistributedToken(address token
emergencyWithdraw(address token
emergencyWithdrawAll(
enableDistributedToken(address token
harvestAllDividends(
harvestDividends(address token
massUpdateDividendsInfo(
removeTokenFromDistributedTokens(address tokenToRemove
renounceOwnership(
transferOwnership(address newOwner
updateCurrentCycleStartTime(
updateCycleDividendsPercent(address tokenuint256 percent
updateDividendsInfo(address token
Events
CycleDividendsPercentUpdated(address indexed tokenuint256 previousValueuint256 newValue
DistributedTokenDisabled(address indexed token
DistributedTokenEnabled(address indexed token
DistributedTokenRemoved(address indexed token
DividendsAddedToPending(address indexed tokenuint256 amount
DividendsCollected(address indexed useraddress indexed tokenuint256 amount
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
UserUpdated(address indexed useruint256 previousBalanceuint256 newBalance
Constructor
constructor(address xGrailToken_uint256 startTime_
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.