Module essential_check::predicate
source · Expand description
Items related to the validation of Predicates.
Enums§
check_constrainterror.check_constraintserror.check_contracterror.check_directiveerror.checkerror indicating part of a predicate was invalid.check_signed_contracterror.- [
check_slots] error. check_state_readerror.check_state_readserror.
Constants§
- Maximum number of constraint check programs of a predicate.
- Maximum size of constraint check programs of a predicate in bytes.
- Maximum number of decision variables of the slots of a predicate.
- Maximum size of directive of a predicate.
- Maximum number of state slots of a predicate.
- Maximum number of predicates in a contract.
- Maximum length of state slots of a predicate.
- Maximum number of state read programs of a predicate.
- Maximum size of state read programs of a predicate in bytes.
Functions§
- Validate a single predicate.
- Validate a single constraint bytecode slice.
- Validate a predicate’s constraint bytecode.
- Validate a contract of predicates.
- Validate a predicate’s directive.
- Validate a signed contract of predicates.
- Validate a single state read bytecode slice.
- Validate a predicate’s state read bytecode.