HoneyVesting

Verified contract

Active on Ethereum with 357 txns
Deployed by via 0x80223d75 at 14483283
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
0xd1477c84c4895d60f15c0ffb5f2ec7f07918c0a34e979d4b081c04fb7636e030
0xa5dcdbb766e9358bf764f7d828fad5cf853cf72404a69131bf1329c17992b71a
0x1dc6ec9310229760b78ce380c13e1a63296c2129e8965d31b43380b810bd27ce
0xb849fa1d3a7509ae26550f9ed57c8033dc8f7be3be7741ecb8aaa51cef987086
0xe0abe2387cf319ae438e31a6603c38ced25a656bab323d3436938362b9c3010c
0xc91bd6d8acd4a29ac7286ff8464a009796ba875233585c363b8aa61759de95c6
0xf5a673b26796388bb5ae0bdfe8dda0cf565e3564418780f97c859e6e83bab4e2
0x8fcebf7d116945b961eaac87906f1457b5f57537597f5a1b6b7b67002823d914
0x5b5f9354f79682f4688a8ff3fa588c561c0a303ed1ec001e58cfa9014bc628f4
0xc9ff130d43db6946ba23858e0525d798ecab913906d35e17f26ce114feccb606

Functions
Getter at block 21392693
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
HONEY_SPENDER_ROLE(view returns (bytes32)
0x1d08b5ca05f0faec3b6f35010a7353736e9540c52bf085061cb969d680b5bde9
WITHDRAW_ROLE(view returns (bytes32)
0x5d8e12c39142ff96d79d04d15d1ba1269e4fe57bb9d26f43523628b34ba108ec
cliffEnd(view returns (uint256)
1664362269
cliffPeriod(view returns (uint256)
15724800
cliffStart(view returns (uint256)
1648637469
fancyBearsContract(view returns (address)
0x87084ec881d5a15c918057f326790db177d218f2
honeyContract(view returns (address)
0x33b4fe5e40e4903a0849ca97b3292eac3eb0aa36
honeyJarsContract(view returns (address)
0x55f3bc084da207b7347538b74cc388deeb3ab448
honeyPerBear(view returns (uint256)
142000000000000000000000
honeyPerJar(view returns (uint256)
71000000000000000000000
numberOfRewardPeriods(view returns (uint256)
78
rewardPeriod(view returns (uint256)
604800
spentHoneyBalance(view returns (uint256)
1721119021976593691695016023
Read-only
calculateRewardPeriod(uint256 _timestampview returns (uint256)
getBearStats(uint256 _tokenIduint256 _timestampview returns (uint256 releasableuint256 releaseduint256 spentuint256 remaining)
getJarStats(uint256 _tokenIduint256 _timestampview returns (uint256 releasableuint256 releaseduint256 spentuint256 remaining)
getReleasableHoneyFromBear(uint256 _tokenIduint256 _timestampview returns (booluint256)
getReleasableHoneyFromJar(uint256 _tokenIduint256 _timestampview returns (booluint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
getVestingAmountRemainingInBearById(uint256 _tokenIdview returns (uint256)
getVestingAmountRemainingInBearsByWallet(address _addressview returns (uint256[]uint256[])
getVestingAmountRemainingInJarById(uint256 _tokenIdview returns (uint256)
getVestingAmountRemainingInJarsByWallet(address _addressview returns (uint256[]uint256[])
hasRole(bytes32 roleaddress accountview returns (bool)
honeyReleasedByBearId(uint256view returns (uint256)
honeyReleasedByJarId(uint256view returns (uint256)
honeySpentByBearId(uint256view returns (uint256)
honeySpentByJarId(uint256view returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
vestingSchedule(uint256 _totalAllocationuint256 _timestampview returns (uint256)
vestingScheduleForBear(uint256 _timestampview returns (uint256)
vestingScheduleForJar(uint256 _timestampview returns (uint256)
State-modifying
claimAll(uint256[] _fancyBearsuint256[] _honeyJars
claimHoneyFromBear(uint256 _tokenId
claimHoneyFromJar(uint256 _tokenId
grantRole(bytes32 roleaddress account
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setCliffStart(
spendHoney(uint256[] _fancyBearTokensuint256[] _amountPerFancyBearTokenuint256[] _honeyJarTokensuint256[] _amountPerHoneyJarToken
spendHoneyInBear(uint256 _tokenIduint256 _amount
spendHoneyInJar(uint256 _tokenIduint256 _amount
withdrawSpentHoney(uint256 _amountaddress _destination
Events
HoneyReleasedFromBear(uint256 indexed _tokenIduint256 _releasableaddress _address
HoneyReleasedFromJar(uint256 indexed _tokenIduint256 _releasableaddress _address
HoneySpentFromBear(uint256 indexed _tokenIduint256 _amountaddress _address
HoneySpentFromJar(uint256 indexed _tokenIduint256 _amountaddress _address
HoneyWithdraw(uint256 _amountaddress _calleraddress _destination
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Constructor
constructor(address _fancyBearsContractAddressaddress _honeyJarsContractAddressaddress _honeyContractAddressuint256 _rewardPeriodInSecondsuint256 _numberOfRewardPeriodsuint256 _cliffPeriodInSeconds
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.