RewardControlStorage.sol

View Source: contracts/RewardControlStorage.sol

↘ Derived Contracts: RewardControl

Structs

MarketState

struct MarketState {
 uint224 index,
 uint32 block
}

Contract Members

Constants & Variables

mapping(bool => address[]) public allMarkets;
mapping(bool => mapping(address => bool)) public allMarketsIndex;
uint256 public alkRate;
mapping(bool => mapping(address => uint256)) public alkSpeeds;
mapping(bool => mapping(address => struct RewardControlStorage.MarketState)) public alkSupplyState;
mapping(bool => mapping(address => struct RewardControlStorage.MarketState)) public alkBorrowState;
mapping(bool => mapping(address => mapping(address => uint256))) public alkSupplierIndex;
mapping(bool => mapping(address => mapping(address => uint256))) public alkBorrowerIndex;
mapping(address => uint256) public alkAccrued;
bool public initializationDone;
address public owner;
address public newOwner;
contract AlkemiEarnVerified public alkemiEarnVerified;
contract AlkemiEarnPublic public alkemiEarnPublic;
address public alkAddress;
uint8 public MAXIMUM_NUMBER_OF_MARKETS;

Functions

Last updated