IStaticJobs.sol
Methods
executeJob(bytes[],address[])
Solidity
function executeJob(bytes[] _jobInfo, address[] _targetAddresses) external nonpayable
Parameters
Name | Type | Description |
---|---|---|
_jobInfo | bytes[] | undefined |
_targetAddresses | address[] | undefined |
registerJob(bytes[],address[],string,string)
Solidity
function registerJob(bytes[] _jobInfo, address[] _targetAddresses, string _name, string _ipfsForJobDetails) external nonpayable
Parameters
Name | Type | Description |
---|---|---|
_jobInfo | bytes[] | undefined |
_targetAddresses | address[] | undefined |
_name | string | undefined |
_ipfsForJobDetails | string | undefined |
Events
GasDeposited
Solidity
event GasDeposited(address indexed depositor, uint256 value)
Parameters
Name | Type | Description |
---|---|---|
depositor indexed | address | undefined |
value | uint256 | undefined |
GasWithdrawn
Solidity
event GasWithdrawn(address indexed withdrawer, uint256 value)
Parameters
Name | Type | Description |
---|---|---|
withdrawer indexed | address | undefined |
value | uint256 | undefined |
JobExecuted
Solidity
event JobExecuted(bytes32 jobHash)
Parameters
Name | Type | Description |
---|---|---|
jobHash | bytes32 | undefined |
JobRegistered
Solidity
event JobRegistered(bytes[] jobInfo, address[] targetAddresses, bytes32 jobHash, string name, string ipfsForJobDetails)
Parameters
Name | Type | Description |
---|---|---|
jobInfo | bytes[] | undefined |
targetAddresses | address[] | undefined |
jobHash | bytes32 | undefined |
name | string | undefined |
ipfsForJobDetails | string | undefined |
JobToggledByCreator
Solidity
event JobToggledByCreator(bytes32 jobHash, uint256 toggle)
Parameters
Name | Type | Description |
---|---|---|
jobHash | bytes32 | undefined |
toggle | uint256 | undefined |