DividendsV2

Verified contract

Active on Base with 3,411 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 $788.75
ERC-20
Value $0.05
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0xc85c538afad35c359a7e932c5561941b124472177a3f0dd94a74c1bcb7a34934
0xa4db2181a7df48936ab5ef663494e28af96d283222ab7a920407a1ec829ef2c0
0x80cf170c88f6994bab5a8d88fb83665398fcedb213120dfc5671850f325e9944
0x4c4b65fc17dd76f2a868ee4827eec5c479646f6dc07c6812f5616e5cedc1473d
0xd5a4630c0e210845cd6a9b198984160bd38803b0f703ac326759dd48923acf5b
0x9f4350f5227c1255818d6a652bfef96d7d25db77608425e14defae1129169fcf
0xd7194e0edfc754685555008236ecd58a226ee930559226ca7a3ded52c1a08e25
0x79df557c11e01e1f89ce007989e88be620037870bb5e55d4fae3ea25c5e8f5e1
0xe38ba96647962c8e0410eb622c17e3e7154b280ff6def64ebb185d80976c16de
0x5c1327fe9781311667bdfec9a7219cdbcc990b8194b223a5bbc1158f13f6e8ed

Functions
Getter at block 22745017
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)
1730304000
cycleDurationSeconds(view returns (uint256)
604800
distributedTokensLength(view returns (uint256)
2
nextCycleStartTime(view returns (uint256)
1730908800
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.