This repository has been archived by the owner on Sep 7, 2023. It is now read-only.
Should a contract be able to specify when it is considered completed
?
#595
Labels
completed
?
#595
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.This could look as follows:
Note that after the
terminate
clause of the contract has been clause, the contract will not accept requests anymore.The text was updated successfully, but these errors were encountered: