PowerPool
  • powerpool overview
    • PowerPool
      • PowerPool DAO Story
      • Value Proposition
      • Use Cases
      • CVP Token
      • Vision 2027
    • Blockchain Automation
      • Glossary
    • PowerAgent Stats
    • How to contribute
    • Contracts and Links
  • Power Agent
    • đŸŽ¯PowerAgent features
    • đŸ›ī¸Architecture
      • â„šī¸Agent
      • â„šī¸Keeper
      • â„šī¸Job
        • Full Specification
    • 📜User Guides and Instructions
      • ❓I Want to Automate my Tasks
        • Job Registration Guide
      • ❓I Want to Become a Keeper
    • â„šī¸Scenarios
    • ⌛Old Pages
      • Installation Guide (Old)
        • Prerequisites
        • DAppNode Installation
        • Registering in PowerAgent
        • Installing PowerAgent Package on DAppNode
        • Standalone Installation
        • Chain-specific configs
      • Keeper (Old)
        • Keeper Registration and Update
        • Keeper staking, withdrawal, and deactivation
          • Keeper activation and deactivation in PPAgentV2RANDAO
        • Keeper assignment and release in RanDAO realisation
      • Job (Old)
        • Job Registration & Update
        • Job funds deposition and withdrawal
      • Agent (old)
        • Page
        • Execution
      • Technical Implementation (Old)
        • Hooks and helper functions
        • Errors
        • Modifiers
          • Flags
      • Job Registration Guide (Old)
      • 📑Testnet Rules
      • Slashing
        • Copy of Slashing
      • Task Reward and Gas Compensation
        • Fees and income sources
        • Copy of Task Reward and Gas Compensation
  • PowerPool Incentives
    • PowerPool Points Program
  • Security
    • Bug Bounty
    • Security Audits
  • Research
    • Automation Networks Research
      • Approaches on Keeper Selection
      • On-chain Random Number Generation
      • Keeper Weighing
      • 🌊PowerPool & PowerAgent Automation Network
      • Value Proposition-PowerPool
    • PowerAgent v2.1
      • Keeper Selection
      • Hooks
  • Resources
    • Website
    • Twitter
    • Medium
    • Discord
    • Github
    • Telegram
    • Governance Voting
    • Governance Forum
  • Legacy & Deprecated
    • Index Products
      • $YLA: Yearn Lazy Ape
        • Invest (ZAP) in YLA with low fees
        • Instant YLA mint via USDC
        • $CVP Boost Program
        • Redeem YLA
        • YLA Onsen Liquidity Mining [deprecated]
      • $BSCDEFI: BSC DeFi Pool/Index
        • Guide: Mint $BSCDEFI with $BNB
        • Guide: Multi-Asset $BSCDEFI Mint
        • Guide: PancakeSwap LM Farming
        • Add $BSCDEFI to MetaMask.
        • Redeem $BSCDEFI
      • $ASSY: Aave, SushiSwap, Synthetix, and Yearn Index
        • $CVP Boost Program
        • Underlying Token Staking
      • $PIPT: PowerIndex Pool
      • $YETI: Yearn Ecosystem Index
      • Market Price vs Fair Value
      • About ZAP
    • CVP reward program
      • How to create a DCA flow in Partitura
Powered by GitBook
On this page
  • Overview
  • Basics
  • Registering a Job
  • Managing Jobs

Was this helpful?

  1. Power Agent
  2. User Guides and Instructions
  3. I Want to Automate my Tasks

Job Registration Guide

A complete guide on creating and managing PowerAgent Jobs

PreviousI Want to Automate my TasksNextI Want to Become a Keeper

Last updated 11 months ago

Was this helpful?


Overview

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.

A stake interval can be assigned to a job.

The lower bound will ensure that only keepers with this or higher stake can be assigned to the execution of this job.

The upper bound limits the maximum compensation for the job, meaning that stakes higher than this amount will not increase the compensation. It also limits the maximum amount of stake slashed in case the keeper fails to execute the job.

A resolver is a function that defines when and how the target function must be executed.

A resolver contains the logic to define if the job should be executed this block and returns the calldata to pass to the job function for execution.

You have to configure and deploy the resolver before submitting your resolver task for automation.


Registering a Job

  1. 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.

Detailed information on the types of Jobs can be found .

Navigate to the.

Job Creation Interface.

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.

Job Execution Parameters
Success Button
📜
❓
here
PowerPool dApp
PowerPool Protocol dApp
Automate your task via the intuitive UI!
Logo
My Jobs tab
Select the latest version