Job Registration Guide (Old)
A complete guide on creating and managing PowerAgent Jobs
Last updated
A complete guide on creating and managing PowerAgent Jobs
Last updated
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:
Interval - changes the execution interval of an interval job
MIN stake - the minimal stake a keeper must possess to be eligible for job execution
MAX stake - the upper bound of the stake for the purposes of slashing amount and compensation computation
Max base fee - the upper bound of the base fee for the purposes of compensation computation
Use Owner's balance - whether to use Job or Job Owner credits for payment
Status - whether a job is active and, therefore, executable
Job Balance - the Job's credits
Owner - the Job owner
Press the Create Job
button at the top.
Select the PowerAgent contract and press Create job
Paste the target contract's address into the Target contract field. The ABI will be fetched automatically
Select the appropriate method in the Contract Method Selector drop-down list
If the method admits predefined calldata, supply the arguments
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.
Press Create job, approve the transaction, and wait for it to finish
Press the Create Job
button at the top.
Select the PowerAgent contract and press Create job
Paste the target contract's address into the Target contract field. The ABI will be fetched automatically
Toggle the Use Resolver field
Select the appropriate method in the Contract Method Selector drop-down list. This will be the target method that receives calldata from the resolver.
Supply the Resolver address in the corresponding field and select the resolver method from the Resolver method selector drop-down list
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.
Press Create job, approve the transaction, and wait for it to finish