IJob
Inherits: IAuthorizable, IModifiable
Functions
rewardAmount
Amount of tokens to reward per job transaction [wad]
function rewardAmount() external view returns (uint256 _rewardAmount);
stabilityFeeTreasury
Address of the StabilityFeeTreasury contract
function stabilityFeeTreasury() external view returns (IStabilityFeeTreasury _stabilityFeeTreasury);
Events
Rewarded
Emitted when a reward is issued
event Rewarded(address _rewardedAccount, uint256 _rewardAmount);
Parameters
Name | Type | Description |
---|---|---|
_rewardedAccount | address | Account that received the reward |
_rewardAmount | uint256 | Amount of reward issued [wad] |
Errors
NotWorkable
Throws when trying to call a not-workable job function
error NotWorkable();