Keeper Registration and Update
To participate in PowerAgent network, the user has to register their keeper worker address in the Agent contract.
Last updated
To participate in PowerAgent network, the user has to register their keeper worker address in the Agent contract.
Last updated
The caller provides worker address (which is used in the off-chain keeper software configuration) and initial CVP deposit for stake.
Each new keeper is assigned an id (id of the previous registered keeper, incremented by 1, starting from 0).
A single keeper address can have multiple workers assigned to the same Admin contract.
Once the registration is complete, the keeper is assumed to be up and running. It will start participating in the network as soon as the off-chain software is configured and launched.
If for any reason the keeper wants to change their worker address, a function setWorkerAddress
is used.
The mappings workerKeeperIds
and keepers
are updated accordingly.
Upon successful change of the worker address the function emits