RewardsController
Verified contract
Implementation
Active on
Base with 1 txns
Storage
Map
Table
Raw
Constants and immutables
3
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
Balances ($0.00)
No balances found for "RewardsController"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 2583808 | a year ago | | | 0 | 0.0000053141039 |
ABI
ABI objects
Getter at block 23171946
EMISSION_MANAGER() view returns (address)
0x65e1344d17cc080ac77fb03b49cf5d0caf7bfeb8
REVISION() view returns (uint256)
1
getEmissionManager() view returns (address)
0x65e1344d17cc080ac77fb03b49cf5d0caf7bfeb8
getRewardsList() view returns (address[])
[]
Read-only
getAllUserRewards(address[] assets, address user) view returns (address[] rewardsList, uint256[] unclaimedAmounts)
getAssetDecimals(address asset) view returns (uint8)
getAssetIndex(address asset, address reward) view returns (uint256, uint256)
getClaimer(address user) view returns (address)
getDistributionEnd(address asset, address reward) view returns (uint256)
getRewardOracle(address reward) view returns (address)
getRewardsByAsset(address asset) view returns (address[])
getRewardsData(address asset, address reward) view returns (uint256, uint256, uint256, uint256)
getTransferStrategy(address reward) view returns (address)
getUserAccruedRewards(address user, address reward) view returns (uint256)
getUserAssetIndex(address user, address asset, address reward) view returns (uint256)
getUserRewards(address[] assets, address user, address reward) view returns (uint256)
State-modifying
Events claimAllRewards(address[] assets, address to) returns (address[] rewardsList, uint256[] claimedAmounts)
claimAllRewardsOnBehalf(address[] assets, address user, address to) returns (address[] rewardsList, uint256[] claimedAmounts)
claimAllRewardsToSelf(address[] assets) returns (address[] rewardsList, uint256[] claimedAmounts)
claimRewards(address[] assets, uint256 amount, address to, address reward) returns (uint256)
claimRewardsOnBehalf(address[] assets, uint256 amount, address user, address to, address reward) returns (uint256)
claimRewardsToSelf(address[] assets, uint256 amount, address reward) returns (uint256)
configureAssets(struct RewardsDataTypesRewardsConfigInput[] config)
handleAction(address user, uint256 totalSupply, uint256 userBalance)
initialize(address)
setClaimer(address user, address caller)
setDistributionEnd(address asset, address reward, uint32 newDistributionEnd)
setEmissionPerSecond(address asset, address[] rewards, uint88[] newEmissionsPerSecond)
setRewardOracle(address reward, address rewardOracle)
setTransferStrategy(address reward, address transferStrategy)
Accrued(address indexed asset, address indexed reward, address indexed user, uint256 assetIndex, uint256 userIndex, uint256 rewardsAccrued)
AssetConfigUpdated(address indexed asset, address indexed reward, uint256 oldEmission, uint256 newEmission, uint256 oldDistributionEnd, uint256 newDistributionEnd, uint256 assetIndex)
ClaimerSet(address indexed user, address indexed claimer)
RewardOracleUpdated(address indexed reward, address indexed rewardOracle)
RewardsClaimed(address indexed user, address indexed reward, address indexed to, address claimer, uint256 amount)
TransferStrategyInstalled(address indexed reward, address indexed transferStrategy)
constructor(address emissionManager)
This contract contains no fallback and receive objects.
This contract contains no error objects.