Inheritance
You can inherit another Contract or LogicSig in order to inherit all of the class properties (state, events, scratch, etc.) and methods.
Importing and Inheritance
TEALScript supports importing any Contract
, LogicSig
, const, or type from another TEALScript file.
App Programs and Schema
To access the program or schema of another TEALScript app you can use the .approvalProgram()
. .clearProgram()
, or .schema
static methods.
Logic Signature Address and Program