-
Asked on discord by since smart contract is on account, then is it not possible to transfer the smart contract? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Similar to Solidity contract, although a module is published under an address (could be an EOA account or resource account or Object), you can program the admin of the module. Checkout the ANS router module, where it only allows current admin to update admin. |
Beta Was this translation helpful? Give feedback.
-
@0xaptosj nice example
i believe its not possible to publish a module as an Object currently, might be wrong about this module objects will really nice - everyone won't re-implement the concept of an owner in each module |
Beta Was this translation helpful? Give feedback.
Similar to Solidity contract, although a module is published under an address (could be an EOA account or resource account or Object), you can program the admin of the module. Checkout the ANS router module, where it only allows current admin to update admin.
If you want to transfer ownership of a module to another person, you would update the module admin you stored to that person.