IKeep3rMeteredJob

Git Source

Inherits: IKeep3rJob

Functions

keep3rHelper

Returns the address of the Keep3r helper contract

function keep3rHelper() external view returns (IKeep3rHelper _keep3rHelper);

Returns

NameTypeDescription
_keep3rHelperIKeep3rHelperAddress 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

NameTypeDescription
_gasMultiplieruint256Multiplier 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

NameTypeDescription
_keep3rHelperIKeep3rHelperAddress of the new Keep3r helper contract

setGasMultiplier

Allows governor to set a new gas multiplier

function setGasMultiplier(uint256 _gasMultiplier) external;

Parameters

NameTypeDescription
_gasMultiplieruint256New 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);