Dapp Use Cases
Implementation / Address Change
Assert that an address of an implementation has changed
Use Case
Check that the implementation of a contract does not change. This works similarly when checking if the owner of a contract has changed.
This assertions is useful if you want to make sure that a contract is not unexpectedly upgraded or changed to an undesired implementation. For example it would be possible to define a list of allowed implementations that would be whitelisted and any other implementation would be considered an invalid state.
Explanation
The assertion checks if the address of a contract has changed after a transaction has been executed.