Job Registration Guide

A complete guide on creating and managing PowerAgent Jobs

Automate your task via the intuitive UI!

Overview

Detailed information on the types of Jobs can be found here.

In this guide, we will submit a task for execution and monitor it via the Explorer.


Basics

A job can be funded in two ways:

  • By topping up the job balance.

  • By topping up the owner’s balance and allowing the job to be funded from it.

It is useful if multiple jobs are created from a single owner address.


Registering a Job

  1. Navigate to the PowerPool dApp.

  2. Connect your wallet of choice, select the desired chain and navigate to the My Jobs tab on the left.

  1. Press Create Job button

  2. Select the latest Agent contract

On this page you can see different implementations of the PowerAgent contract deployed on the selected chain. Pick the latest one and press "Create job".

  1. Configure the Job. See Job for details.

Interval Job

To create a simple interval job, paste the address of the contract you want to automate into the Target contract field. If the contract is verified on the blockchain explorer, the ABI will be filled in automatically. If it is not verified, you will have to paste in the ABI of the contract manually.

Either way, when ABI is ready, you can select the target function in the Contract Method Selector field.

If the target function requires passing of calldata, you can specify it in the field below.

Resolver Job

To create a resolver job, move the slider “Use Resolver” to the right.

  1. Now move to the right side of the interface. There you can specify CVP stake range, max base fee and job execution interval. If you prefer to fund the Job from its own Balance rather than the Owner Balance, don't forget to top it up with native credits.

  1. When you have finished configuring your job, press “Create Job” button at the bottom right corner.


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.

Then confirm the transaction and wait until it is mined in the blockchain. Check the hash to make sure it executed correctly.

Last updated