KeeperIncentive


Functions:

Events:

Graphs:


Function Definitions:

constructor()

constructor(contract IContractRegistry _contractRegistry, uint256 _burnRate, uint256 _requiredKeeperStake) public 

handleKeeperIncentive()

handleKeeperIncentive(bytes32 _contractName, uint8 _i, address _keeper) external 

createIncentive()

createIncentive(bytes32 _contractName, uint256 _reward, bool _enabled, bool _openToEveryone) public 

This function is only for creating unique incentives for future contracts Multiple functions can use the same incentive which can than be updated with one governance vote

updateIncentive()

updateIncentive(bytes32 _contractName, uint8 _i, uint256 _reward, bool _enabled, bool _openToEveryone) external 

toggleApproval()

toggleApproval(bytes32 _contractName, uint8 _i) external 

toggleIncentive()

toggleIncentive(bytes32 _contractName, uint8 _i) external 

fundIncentive()

fundIncentive(uint256 _amount) external 

addControllerContract()

addControllerContract(bytes32 _contractName, address contract_) external 

all critical functions to init/open vaults and add shares to them can only be called by controller contracts

updateBurnRate()

updateBurnRate(uint256 _burnRate) external 

updateRequiredKeeperStake()

updateRequiredKeeperStake(uint256 _amount) external 

Events

IncentiveCreated

IncentiveCreated(bytes32 contractName, uint256 reward, bool openToEveryone)

IncentiveChanged

IncentiveChanged(bytes32 contractName, uint256 oldReward, uint256 newReward, bool oldOpenToEveryone, bool newOpenToEveryone)

IncentiveFunded

IncentiveFunded(uint256 amount)

ApprovalToggled

ApprovalToggled(bytes32 contractName, bool openToEveryone)

IncentiveToggled

IncentiveToggled(bytes32 contractName, bool enabled)

ControllerContractAdded

ControllerContractAdded(bytes32 contractName, address contractAddress)

Burned

Burned(uint256 amount)

BurnRateChanged

BurnRateChanged(uint256 oldRate, uint256 newRate)

RequiredKeeperStakeChanged

RequiredKeeperStakeChanged(uint256 oldRequirement, uint256 newRequirement)

Graphs

Dependency Graph

Inheritance Graph

Last updated