IJob

Git Source

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

NameTypeDescription
_rewardedAccountaddressAccount that received the reward
_rewardAmountuint256Amount of reward issued [wad]

Errors

NotWorkable

Throws when trying to call a not-workable job function

error NotWorkable();