Upgradeable contracts and Interfaces

Greetings,

If an upgradeable smart contract has an interface that other contracts use to interact with the current implementation, what happens to the interface when the current implementation changes? For example, if additional functions are added to the contract, should there be a new interface contract? Can interface contracts be upgraded as well?

1 Like

If you are referring to proxy contract, that remains same. Only the implementation contract keeps changing. Proxy contract refers to implementation contract.

1 Like

Yes, but what if a new function is added to the implementation contract? Will changing the interface contract file to add that new function and upgrading the implementation contract work?

1 Like