Job Registration Guide
A complete guide on creating and managing PowerAgent Jobs
Last updated
A complete guide on creating and managing PowerAgent Jobs
Last updated
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.
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.
Navigate to the PowerPool dApp.
Connect your wallet of choice, select the desired chain and navigate to the My Jobs tab on the left.
Press Create Job button
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".
Configure the Job. See Job for details.
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.
When you have finished configuring your job, press âCreate Jobâ button at the bottom right corner.
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.
If the target function does not accept any calldata, move to the next step.
A Resolver window will appear below the Contract Method Selector field. Here you can specify the address of the resolver contract and the function to be called. The resolver function should return a tuple containing either (False, ) if the execution is not ready yet, or (True, Calldata) if the conditions for execution are met. More on resolver jobs see here.