IKeep3rMeteredJob
Inherits: IKeep3rJob
Functions
keep3rHelper
Returns the address of the Keep3r helper contract
function keep3rHelper() external view returns (IKeep3rHelper _keep3rHelper);
Returns
Name | Type | Description |
---|---|---|
_keep3rHelper | IKeep3rHelper | Address of the Keep3r helper contract |
gasMultiplier
Returns the multiplier that boosts gas record to calculate the keeper reward
function gasMultiplier() external view returns (uint256 _gasMultiplier);
Returns
Name | Type | Description |
---|---|---|
_gasMultiplier | uint256 | Multiplier that boosts gas record to calculate the keeper reward |
setKeep3rHelper
Allows governor to set a new Keep3r helper contract
function setKeep3rHelper(IKeep3rHelper _keep3rHelper) external;
Parameters
Name | Type | Description |
---|---|---|
_keep3rHelper | IKeep3rHelper | Address of the new Keep3r helper contract |
setGasMultiplier
Allows governor to set a new gas multiplier
function setGasMultiplier(uint256 _gasMultiplier) external;
Parameters
Name | Type | Description |
---|---|---|
_gasMultiplier | uint256 | New multiplier that boosts gas record to calculate the keeper reward |
Events
Keep3rHelperChanged
Emitted when a new Keep3rHelper contract is set
event Keep3rHelperChanged(IKeep3rHelper _keep3rHelper);
GasMultiplierChanged
Emitted when a new gas bonus multiplier is set
event GasMultiplierChanged(uint256 _gasMultiplier);
GasMetered
Emitted when a metered job is worked
event GasMetered(uint256 _initialGas, uint256 _gasAfterWork);