RewardDistributor

Verified contract

Active on Base with 497 txns
Deployed by via 0xc302b271 at 8429390
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $0
ERC-20
--
0xbe618a8fe49a5e115c883b3158a623e8c91dc52eadcd7544dfde788d52ea657f
0x043afbb358062c843a4be5e3ecfdebeaa7434abc38f9f5759ddd5d70e83d3a37
0xab4c3dd6e83354ad5bd83e37cce76235539ce023727fdc2f9d158424483bdd07
0x4d6fed1f7a2573e1bbd1d51000e16d7b81c7d2da7dc5ae5a34036a55a2211c1c
0x77ebb3b4c9958dacf9bc4058e58021ba4580fbd25c3c3a1ed927fe42dc0f7bfc
0x1513caa1781815d456efe8efbcc50918e3647816edcfa3f6385ecca5d6355319
0x3d91f85dc83b01c8f82e8821f59116a625b633c456112191193a0414513c8bf5
0xa28f5add88fc04bb46196a7f346ac6f278a57d682e75f0252da5edb901aa1525
0xfe18338980dedec76b67cb768fd9c1e6dcd4206b9d0a7b081ac7a9fc52671796
0xb0e220f59e5f3833e49ae99404ec4b910cc728c53447c4daff7c4b99a68f2f73

Functions
Getter at block 23148760
admin(view returns (address)
0x5366523cb3dcefb854eb81913fef1abf8cb11378
comptroller(view returns (address)
0xbea1d596ae022fae90d84ffaf0907e38a25ed6e7
getBlockTimestamp(view returns (uint256)
1733086867
getRewardAddressLength(view returns (uint256)
1
rewardInitialIndex(view returns (uint224)
1000000000000000000000000000000000000
Read-only
getRewardAddress(uint256 rewardTypeview returns (address)
rewardAccruedBorrow(uint8addressaddressview returns (uint256)
rewardAccruedSupply(uint8addressaddressview returns (uint256)
rewardAddresses(uint256view returns (address)
rewardBorrowSpeeds(uint8addressview returns (uint256)
rewardBorrowState(uint8addressview returns (uint224 indexuint32 timestamp)
rewardBorrowerIndex(uint8addressaddressview returns (uint256)
rewardSupplierIndex(uint8addressaddressview returns (uint256)
rewardSupplySpeeds(uint8addressview returns (uint256)
rewardSupplyState(uint8addressview returns (uint224 indexuint32 timestamp)
State-modifying
_grantReward(uint8 rewardTypeaddress recipientuint256 amount
_setRewardSpeed(uint8 rewardTypeaddress cTokenuint256 rewardSupplySpeeduint256 rewardBorrowSpeed
addRewardAddress(address newRewardAddress
claimReward(uint8 rewardTypeaddress holder
claimReward(uint8 rewardTypeaddress holderaddress[] cTokens
claimReward(uint8 rewardTypeaddress[] holdersaddress[] cTokensbool borrowersbool supplierspayable 
initialize(
setAdmin(address _newAdmin
setComptroller(address _comptroller
setRewardAddress(uint8 rewardTypeaddress newRewardAddress
updateAndDistributeBorrowerRewardsForToken(address cTokenaddress borrowerstruct ExponentialNoErrorExp marketBorrowIndex
updateAndDistributeBorrowerRewardsForToken(address cTokenaddress borroweruint256 _marketBorrowIndex
updateAndDistributeSupplierRewardsForToken(address cTokenaddress supplier
Events
DistributedBorrowerReward(uint8 rewardTypeaddress indexed cTokenaddress indexed borroweruint256 rewardDeltauint256 rewardBorrowIndex
DistributedSupplierReward(uint8 rewardTypeaddress indexed cTokenaddress indexed supplieruint256 rewardDeltauint256 rewardSupplyIndex
RewardAdded(uint8 rewardTypeaddress newRewardAddress
RewardAddressChanged(uint8 rewardTypeaddress oldRewardAddressaddress newRewardAddress
RewardBorrowSpeedUpdated(uint8 rewardTypeaddress indexed cTokenuint256 newSpeed
RewardGranted(uint8 rewardTypeaddress recipientuint256 amount
RewardSupplySpeedUpdated(uint8 rewardTypeaddress indexed cTokenuint256 newSpeed
Constructor
constructor(
Fallback and receive
receive(
Errors

This contract contains no error objects.