Job Registration Guide (Old)

A complete guide on creating and managing PowerAgent Jobs

PowerAgent UI

Managing Jobs

In the UI, navigate to the My Jobs tab. Here you can see your current Owner Address (the one you have connected to the webapp), your Owner Balance and the list of all your Jobs (if you have any).

Each Job entry is expandable. In the drop down menu you can see the details of this Job and change any parameter.

The influence of each parameter:

  1. Interval - changes the execution interval of an interval job

  2. MIN stake - the minimal stake a keeper must possess to be eligible for job execution

  3. MAX stake - the upper bound of the stake for the purposes of slashing amount and compensation computation

  4. Max base fee - the upper bound of the base fee for the purposes of compensation computation

  5. Use Owner's balance - whether to use Job or Job Owner credits for payment

  6. Status - whether a job is active and, therefore, executable

  7. Job Balance - the Job's credits

  8. Owner - the Job owner

Job Registration

Registration of an Interval job

  1. Press the Create Job button at the top.

  1. Select the PowerAgent contract and press Create job

  2. Paste the target contract's address into the Target contract field. The ABI will be fetched automatically

  1. Select the appropriate method in the Contract Method Selector drop-down list

  2. If the method admits predefined calldata, supply the arguments

  1. Select the MIN and MAX stakes, the max base fee, and the interval of execution. Specify the amount of job credits to deposit at a call (take note that you cannot currently deposit job owner credits at creation through UI, and you'll have to manually increment your job owner credit balance). Keep in mind that jobs with the credit value that is less than an Agent-specified threshold will not be executed. For the current realisation, that value is 0.01 ETH.

  1. Press Create job, approve the transaction, and wait for it to finish

Registration of a Resolver job

  1. Press the Create Job button at the top.

  1. Select the PowerAgent contract and press Create job

  2. Paste the target contract's address into the Target contract field. The ABI will be fetched automatically

  3. Toggle the Use Resolver field

  1. Select the appropriate method in the Contract Method Selector drop-down list. This will be the target method that receives calldata from the resolver.

  2. Supply the Resolver address in the corresponding field and select the resolver method from the Resolver method selector drop-down list

  1. Select the MIN and MAX stakes and the max base fee. Keep the interval at zero seconds. Specify the amount of job credits to deposit at a call (take note that you cannot currently deposit job owner credits at creation through UI, and you'll have to manually increment your job owner credit balance). Keep in mind that jobs with the credit value that is less than an Agent-specified threshold will not be executed. For the current realisation, that value is 0.01 ETH.

  1. Press Create job, approve the transaction, and wait for it to finish

Last updated