Job
Inherits: IJob
This abstract contract is inherited by all jobs to add a reward modifier
State Variables
rewardAmount
Amount of tokens to reward per job transaction [wad]
uint256 public rewardAmount;
stabilityFeeTreasury
Address of the StabilityFeeTreasury contract
IStabilityFeeTreasury public stabilityFeeTreasury;
Functions
constructor
constructor(address _stabilityFeeTreasury, uint256 _rewardAmount);
Parameters
Name | Type | Description |
---|---|---|
_stabilityFeeTreasury | address | Address of the StabilityFeeTreasury contract |
_rewardAmount | uint256 | Amount of tokens to reward per job transaction [wad] |
reward
Modifier to reward the caller for calling the function
modifier reward();