exit
@opcat-labs/scrypt-ts-opcat v1.0.4
@opcat-labs/scrypt-ts-opcat / exit
Function: exit()
exit(
status):void
Defined in: packages/scrypt-ts-opcat/src/smart-contract/fns/exit.ts:10
exit(bool status); statement terminates contract execution.
Parameters
status
boolean
If status is true, contract succeeds; otherwise, it fails.
Returns
void