Skip to main content

IStaticJobs.sol

Methods

executeJob(bytes[],address[])

Solidity

function executeJob(bytes[] _jobInfo, address[] _targetAddresses) external nonpayable

Parameters

NameTypeDescription
_jobInfobytes[]undefined
_targetAddressesaddress[]undefined

registerJob(bytes[],address[],string,string)

Solidity

function registerJob(bytes[] _jobInfo, address[] _targetAddresses, string _name, string _ipfsForJobDetails) external nonpayable

Parameters

NameTypeDescription
_jobInfobytes[]undefined
_targetAddressesaddress[]undefined
_namestringundefined
_ipfsForJobDetailsstringundefined

Events

GasDeposited

Solidity

event GasDeposited(address indexed depositor, uint256 value)

Parameters

NameTypeDescription
depositor indexedaddressundefined
valueuint256undefined

GasWithdrawn

Solidity

event GasWithdrawn(address indexed withdrawer, uint256 value)

Parameters

NameTypeDescription
withdrawer indexedaddressundefined
valueuint256undefined

JobExecuted

Solidity

event JobExecuted(bytes32 jobHash)

Parameters

NameTypeDescription
jobHashbytes32undefined

JobRegistered

Solidity

event JobRegistered(bytes[] jobInfo, address[] targetAddresses, bytes32 jobHash, string name, string ipfsForJobDetails)

Parameters

NameTypeDescription
jobInfobytes[]undefined
targetAddressesaddress[]undefined
jobHashbytes32undefined
namestringundefined
ipfsForJobDetailsstringundefined

JobToggledByCreator

Solidity

event JobToggledByCreator(bytes32 jobHash, uint256 toggle)

Parameters

NameTypeDescription
jobHashbytes32undefined
toggleuint256undefined