Prerequisites
Updating Operator Address
The operator is the account you specify during VIP whitelisting that will receives your rollup’s operator commission rewards. To learn more about the VIP operator rewards, see this section. To replace the operator address, callupdate_operator
on the VIP contract and pass two arguments in order: the rollup bridge ID and the new operator address. The bridge ID uniquely identifies your rollup bridge and can be retrieved from ${REST_URL}/opinit/opchild/v1/bridge_info
.
Updating Operator Commission
Operator commissions can be adjusted based on theoperator_commission_max_rate
and operator_commission_max_change_rate
settings established during VIP whitelisting.
Note that the commission value can be modified only once per stage, and any updated rate will take effect starting from the next stage. To update the operator commission, call update_operator_commission
on the VIP contract. This function takes three arguments
- the rollup bridge ID
- the version number
- the new commission rate
1
when the rollup is listed for the first time. If the rollup is delisted and later relisted, set the version to the previous value plus 1.