Dapp Use Cases
Owner Change
Assert if the owner of a contract has changed
Use Case
Check if the owner of a contract has changed. This is useful in cases where you want to make sure that the owner of a contract is not changed. An example where this has happened was in the Radiant Capital hack where the owner was changed through a hijacked multisig transaction. This allowed the attacker to drain the protocol.
Explanation
The assertion checks if the owner of a contract has changed after a transaction has been executed.