Changing an Operator's Owner
CONTROLLER
Who Is the Current Owner?
const getBytes = (key) => {
return Web3.utils.toHex(key);
};
const owner = Portal.readAddressForId(id, getBytes("CONTROLLER"))Set a New Owner
1. Which address is the new owner?
2. Double check the new address of your Controller.
3. Call changeIdCONTROLLER() in Portal with ID of your Operator, and the address of your new Controller.
changeIdCONTROLLER() in Portal with ID of your Operator, and the address of your new Controller. Portal.changeIdCONTROLLER(uint256 id, address newCONTROLLER)Changing your Controller is easy, however it will override the ability of the previous Controller immediately.
Last updated