Skip to main content

Incentivized

Functions

constructor

function constructor(
uint256 _incentiveAmount
) internal

Parameters

NameTypeDescription
_incentiveAmountuint256

setIncentiveAmount

function setIncentiveAmount(
uint256 newIncentiveAmount
) public

set the incentiveAmount

Parameters

NameTypeDescription
newIncentiveAmountuint256

_incentivize

function _incentivize() internal

incentivize a call with incentiveAmount FEI rewards

no-op if the contract does not have Minter role

Events

IncentiveUpdate

event IncentiveUpdate(
uint256 oldIncentiveAmount,
uint256 newIncentiveAmount
)

Parameters

NameTypeDescription
oldIncentiveAmountuint256
newIncentiveAmountuint256