Managing an operator
Registering a new operator
In order to register as an operator within our restaking protocol, you can run the following commands:
Where:
[Your-operator-name]
identifies the name you want to show users as the operator.--description
allows to set a brief description of your operator (optional).--picture
allows you to set the URL of the picture that will be shown to users inside our operators explorer (optional).--website
allows to set the URL of your website (optional)
After running this command, your operator will be registered within the MilkyWay chain and will be assigned a unique ID. Please make sure to write this down as it will be required when running other operations related to your operator.
Setting the operator's parameters
Withing the MilkyWay chain, we allow operators to set the amount of commissions that they will charge to their delegators. This rate will be used during the rewards distribution process: every time an AVS will send the operator some rewards, the operator will withhold the commission amount and automatically re-distribute the remaining part to its delegators. This means that if you want to keep 100% of the rewards that AVSs send you, your commission rate will have to be set to 100%.
To update your commission rate amount you can run the following transaction:
Where:
[operator-id]
is the ID of your operator.[commission-rate]
is the rate of commissions you want to charge (in the0.01 - 1
range, where0.01
means 1% and1
means 100%)
Deactivating an operator
If you ever need to run some maintenance to your operating services, you should mark your opeartor as INACTIVE
before stopping any service from running. This will stop any reward being distributed to you, but it will also make sure that you do not incur in any slashing due to being inactive.
To mark your operator as inactive you can run the following transaction:
Where:
[operator-id]
is the ID of your operator.
In order to avoid cryptoeconomic security swinging a lot for services you are validating, the inactivation of your operator will require some time. You can query how long it will take by querying the parameters of the operators
module and refer to the deactivation_time
parameter.
Reactivating an operator
If you have deactivated your operator due to maintenance using the Deactivating an operator guid, you can reactivate it using the following command:
Where:
[operator-id]
is the ID of your operator.
Last updated