MultiRewardDistributor
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
8
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "MultiRewardDistributor"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "MultiRewardDistributor"
ABI
ABI objects
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 _mToken) view returns (struct MultiRewardDistributorCommonMarketConfig[])
getConfigForMarket(address _mToken, address _emissionToken) view returns (struct MultiRewardDistributorCommonMarketConfig)
getCurrentOwner(address _mToken, address _emissionToken) view returns (address)
getGlobalBorrowIndex(address mToken, uint256 index) view returns (uint256)
getGlobalSupplyIndex(address mToken, uint256 index) view returns (uint256)
getOutstandingRewardsForUser(address _mToken, address _user) view returns (struct MultiRewardDistributorCommonRewardInfo[])
getOutstandingRewardsForUser(address _user) view returns (struct MultiRewardDistributorCommonRewardWithMToken[])
marketConfigs(address, uint256) view returns (struct MultiRewardDistributorCommonMarketConfig config)
State-modifying
Events _addEmissionConfig(address _mToken, address _owner, address _emissionToken, uint256 _supplyEmissionPerSec, uint256 _borrowEmissionsPerSec, uint256 _endTime)
_pauseRewards()
_rescueFunds(address _tokenAddress, uint256 _amount)
_setEmissionCap(uint256 _newEmissionCap)
_setPauseGuardian(address _newPauseGuardian)
_unpauseRewards()
_updateBorrowSpeed(address _mToken, address _emissionToken, uint256 _newBorrowSpeed)
_updateEndTime(address _mToken, address _emissionToken, uint256 _newEndTime)
_updateOwner(address _mToken, address _emissionToken, address _newOwner)
_updateSupplySpeed(address _mToken, address _emissionToken, uint256 _newSupplySpeed)
disburseBorrowerRewards(address _mToken, address _borrower, bool _sendTokens)
disburseSupplierRewards(address _mToken, address _supplier, bool _sendTokens)
initialize(address _comptroller, address _pauseGuardian)
updateMarketBorrowIndex(address _mToken)
updateMarketBorrowIndexAndDisburseBorrowerRewards(address _mToken, address _borrower, bool _sendTokens)
updateMarketSupplyIndex(address _mToken)
updateMarketSupplyIndexAndDisburseSupplierRewards(address _mToken, address _supplier, bool _sendTokens)
DisbursedBorrowerRewards(address indexed mToken, address indexed borrower, address indexed emissionToken, uint256 totalAccrued)
DisbursedSupplierRewards(address indexed mToken, address indexed supplier, address indexed emissionToken, uint256 totalAccrued)
FundsRescued(address token, uint256 amount)
GlobalBorrowIndexUpdated(address mToken, address emissionToken, uint256 newIndex, uint32 newTimestamp)
GlobalSupplyIndexUpdated(address mToken, address emissionToken, uint256 newSupplyIndex, uint32 newSupplyGlobalTimestamp)
Initialized(uint8 version)
InsufficientTokensToEmit(address user, address rewardToken, uint256 amount)
NewBorrowRewardSpeed(address indexed mToken, address indexed emissionToken, uint256 oldRewardSpeed, uint256 newRewardSpeed)
NewConfigCreated(address indexed mToken, address indexed owner, address indexed emissionToken, uint256 supplySpeed, uint256 borrowSpeed, uint256 endTime)
NewEmissionCap(uint256 oldEmissionCap, uint256 newEmissionCap)
NewEmissionConfigOwner(address indexed mToken, address indexed emissionToken, address currentOwner, address newOwner)
NewPauseGuardian(address oldPauseGuardian, address newPauseGuardian)
NewRewardEndTime(address indexed mToken, address indexed emissionToken, uint256 currentEndTime, uint256 newEndTime)
NewSupplyRewardSpeed(address indexed mToken, address indexed emissionToken, uint256 oldRewardSpeed, uint256 newRewardSpeed)
Paused(address account)
RewardsPaused()
RewardsUnpaused()
Unpaused(address account)
constructor()
This contract contains no fallback and receive objects.
This contract contains no error objects.