Freezing the operator
Before a user can escape from an exchange, the operator’s contract must be frozen.
Prerequisite
The following conditions must be true before a user can freeze an operator’s contract.
-
A user must have already sent a forced transaction request.
-
The predefined freeze grace period has passed.
-
The forced operation is still pending.
Procedure
-
A user calls the
freezeRequest
function. Any user can call this function, not only the user that sent the forced transaction request.
The exchange becomes frozen, and it can accept no further state updates. Withdrawals of on-chain funds are still possible.
The user must now escape from the frozen smart contract.
Additional resources