Reward Allocators
Reward Requirement Parameters (optional)
struct RewardAllocation {
address allocator;
address rewardTokenAddress;
uint256 rewardTokenAmount;
uint256 marketId;
//requirements for loan
address requiredPrincipalTokenAddress; //0 for any
address requiredCollateralTokenAddress; //0 for any -- could be an enumerable set?
uint256 minimumCollateralPerPrincipalAmount;
uint256 rewardPerLoanPrincipalAmount;
uint32 bidStartTimeMin;
uint32 bidStartTimeMax;
AllocationStrategy allocationStrategy;
}Last updated
