MultiRewardDistributor

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0xe72d7da8 at 2162383
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "MultiRewardDistributor"

No transactions found for "MultiRewardDistributor"


Functions
Getter at block 22753368
comptroller(view returns (address)
0x0000000000000000000000000000000000000000
emissionCap(view returns (uint256)
0
getCurrentEmissionCap(view returns (uint256)
0
initialIndexConstant(view returns (uint224)
1000000000000000000000000000000000000
pauseGuardian(view returns (address)
0x0000000000000000000000000000000000000000
paused(view returns (bool)
false
Read-only
getAllMarketConfigs(address _mTokenview returns (struct MultiRewardDistributorCommonMarketConfig[])
getConfigForMarket(address _mTokenaddress _emissionTokenview returns (struct MultiRewardDistributorCommonMarketConfig)
getCurrentOwner(address _mTokenaddress _emissionTokenview returns (address)
getGlobalBorrowIndex(address mTokenuint256 indexview returns (uint256)
getGlobalSupplyIndex(address mTokenuint256 indexview returns (uint256)
getOutstandingRewardsForUser(address _mTokenaddress _userview returns (struct MultiRewardDistributorCommonRewardInfo[])
getOutstandingRewardsForUser(address _userview returns (struct MultiRewardDistributorCommonRewardWithMToken[])
marketConfigs(addressuint256view returns (struct MultiRewardDistributorCommonMarketConfig config)
State-modifying
_addEmissionConfig(address _mTokenaddress _owneraddress _emissionTokenuint256 _supplyEmissionPerSecuint256 _borrowEmissionsPerSecuint256 _endTime
_pauseRewards(
_rescueFunds(address _tokenAddressuint256 _amount
_setEmissionCap(uint256 _newEmissionCap
_setPauseGuardian(address _newPauseGuardian
_unpauseRewards(
_updateBorrowSpeed(address _mTokenaddress _emissionTokenuint256 _newBorrowSpeed
_updateEndTime(address _mTokenaddress _emissionTokenuint256 _newEndTime
_updateOwner(address _mTokenaddress _emissionTokenaddress _newOwner
_updateSupplySpeed(address _mTokenaddress _emissionTokenuint256 _newSupplySpeed
disburseBorrowerRewards(address _mTokenaddress _borrowerbool _sendTokens
disburseSupplierRewards(address _mTokenaddress _supplierbool _sendTokens
initialize(address _comptrolleraddress _pauseGuardian
updateMarketBorrowIndex(address _mToken
updateMarketBorrowIndexAndDisburseBorrowerRewards(address _mTokenaddress _borrowerbool _sendTokens
updateMarketSupplyIndex(address _mToken
updateMarketSupplyIndexAndDisburseSupplierRewards(address _mTokenaddress _supplierbool _sendTokens
Events
DisbursedBorrowerRewards(address indexed mTokenaddress indexed borroweraddress indexed emissionTokenuint256 totalAccrued
DisbursedSupplierRewards(address indexed mTokenaddress indexed supplieraddress indexed emissionTokenuint256 totalAccrued
FundsRescued(address tokenuint256 amount
GlobalBorrowIndexUpdated(address mTokenaddress emissionTokenuint256 newIndexuint32 newTimestamp
GlobalSupplyIndexUpdated(address mTokenaddress emissionTokenuint256 newSupplyIndexuint32 newSupplyGlobalTimestamp
Initialized(uint8 version
InsufficientTokensToEmit(address useraddress rewardTokenuint256 amount
NewBorrowRewardSpeed(address indexed mTokenaddress indexed emissionTokenuint256 oldRewardSpeeduint256 newRewardSpeed
NewConfigCreated(address indexed mTokenaddress indexed owneraddress indexed emissionTokenuint256 supplySpeeduint256 borrowSpeeduint256 endTime
NewEmissionCap(uint256 oldEmissionCapuint256 newEmissionCap
NewEmissionConfigOwner(address indexed mTokenaddress indexed emissionTokenaddress currentOwneraddress newOwner
NewPauseGuardian(address oldPauseGuardianaddress newPauseGuardian
NewRewardEndTime(address indexed mTokenaddress indexed emissionTokenuint256 currentEndTimeuint256 newEndTime
NewSupplyRewardSpeed(address indexed mTokenaddress indexed emissionTokenuint256 oldRewardSpeeduint256 newRewardSpeed
Paused(address account
RewardsPaused(
RewardsUnpaused(
Unpaused(address account
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.