This question already has an answer here:

I have a token contract that is already deployed in the mainnet, Is it possible for me to inherit the properties of that contract for my new contract that is going to implement the use-cases for the deployed token.

My doubts are,

  1. Is it possible to write a new use-case contract inheriting the properties of the old contract..?

  2. Do I need to deploy the token contract again to achieve it..? Or is it possible by deploying the new contract from the same address where the token contract got deployed..?

Please let me know the best approach..

marked as duplicate by Ismael, Achala Dissanayake, Nicolas Massart, Vignesh Karthikeyan, mirg Jul 4 '18 at 2:49

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


i am not sure if you mean that;

you can use interface contract to inherit pre-contract

enter image description here

Not the answer you're looking for? Browse other questions tagged or ask your own question.