CookDistribution

Verified contract

Active on Ethereum with 6,027 txns
Deployed by via 0xbe9c9938 at 12218659
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $1.47
0x0cf5884cb860111c8b8be9c976fa1bf7d4053ff89621f6d5cf0c8578dad031b7
0x14c5c243265ca5066b3a5c84aee4c3f48024f33bd8ad38b0b8a1c2722e281112
0x1f90ccaca0bcdf030219a6045daef38bd46f20efe87e1d1ee0ecd4a9e9caff90
0x0f868076b451f7c686ca78108435b43899a13453e928b63fe410b4a7e7d00a41
0xacbdd5dcbee5b8edb505183c0e709ec70c6ff2637034ecacc15ca3e6500c27ab
0x30a03bf71c9cd6953ddac6edd2825e364865ef4580248876613bfb00faba7178
0x8ae37a3bc12afbb38be590418d5ed99b98e6ceb33d9f7eac3fa19be3e3abee95
0x67f82e35e4bf533d30ebf214db0420d846c7eaca418d2d36c9821ea3a2c7742d
0x0364d8f2058f883bb6fcd84da13bf5d58104db8a362a88de32f78f563e67828b
0xf9548988cf0492c16efcec10506172a2bf7de125aac0ef756bbf469f57e64709

Functions
Getter at block 21311118
ADMIN_ROLE(view returns (bytes32)
0xdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec42
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MANAGER_ROLE(view returns (bytes32)
0xaf290d8680820aad922855f39b306097b20e28774d6c1ad35a20325630c3a02c
_advancePercentage(view returns (uint256)
35
_duration(view returns (uint256)
360
_interval(view returns (uint32)
30
_lastPriceUnlockDay(view returns (uint256)
0
_maxPriceUnlockMoveStep(view returns (uint32)
1
_nextPriceUnlockStep(view returns (uint32)
0
_pauseClaim(view returns (bool)
false
_start(view returns (uint256)
1617193274
getLatestSevenSMA(view returns (uint256)
0
 
getTotalAvailable(view returns (uint256)
owner(view returns (address)
0x121863db810cdafe1b431bccb20074bccccb6c3c
startDay(view returns (uint256)
18717
today(view returns (uint256 dayNumber)
20059
Read-only
_effectiveDay(uint256 onDayOrTodayview returns (uint256)
getRegisteredStatus(address userAddressview returns (bool)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
getUserAvailableAmount(address userAddressuint256 onDayOrTodayview returns (uint256)
getUserVestedAmount(address userAddressuint256 onDayOrTodayview returns (uint256 amountVested)
getUserVestingAmount(address userAddressview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
State-modifying
addAddressWithAllocation(address beneficiaryAddressuint256 amountuint256 release
addMultipleAddressWithAllocations(address[] beneficiaryAddressesuint256[] amountsuint256[] releases
blacklistAddress(address userAddress
emergencyWithdraw(uint256 amount
getManagerRole(returns (bytes32)
grantRole(bytes32 roleaddress account
pauseClaim(
removeAddressFromBlacklist(address userAddress
renounceOwnership(
renounceRole(bytes32 roleaddress account
resumeCliam(
revokeRole(bytes32 roleaddress account
setAdvancePercentage(uint256 advancePercentage
setDuration(uint256 duration
setInvertal(uint32 interval
setPriceBasedMaxStep(uint32 newMaxPriceBasedStep
setStart(uint256 start
transferOwnership(address newOwner
updatePriceFeed(
withdraw(uint256 withdrawAmount
zapCook(uint256 cookAmountaddress cookPoolAddress
zapLP(uint256 cookAmountaddress poolAddress
Events
AllocationRegistered(address indexed beneficiaryuint256 amount
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
TokensWithdrawal(address userAddressuint256 amount
Constructor
constructor(address token_address[] beneficiaries_uint256[] amounts_uint256 startuint256 durationuint32 intervaladdress oracle_address priceConsumer_
Fallback and receive
fallback(
Errors

This contract contains no error objects.