crytic / tealer

Static Analyzer for Teal
GNU Affero General Public License v3.0
62 stars 14 forks source link

Remove unnecessary code and rename ContractType enum #176

Closed S3v3ru5 closed 1 year ago

S3v3ru5 commented 1 year ago

Removes functions in utils/analyses.py. These functions were used for detectors. The implementation has been moved to detectors/utils.py and that implementation is up to date.

ContractType is defined in tealer.teal.instructions.instructions. it represents the execution mode of the instruction and the contract. This PR renames the ContractType enum to ExecutionMode and moves it to tealer.utils.teal_enums.