You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 7, 2023. It is now read-only.
Currently, there is no way to execute logic at contract termination (or even to indicate what conditions should be met for termination).
While this could be encoded in the logic of the contract itself (with e.g., a state field indicating that the contract is in TERMINATED state), it might be useful to provide a first-class clause for this.
Currently, there is no way to execute logic at contract termination (or even to indicate what conditions should be met for termination).
While this could be encoded in the logic of the contract itself (with e.g., a state field indicating that the contract is in
TERMINATEDstate), it might be useful to provide a first-class clause for this.This could look as follows:
Note that after the
terminateclause of the contract has been clause, the contract will not accept requests anymore.