Types
Core TypeScript types exported by the SDK.
Types
Hex
Hex-encoded byte string, 0x-prefixed.
Prop
Type
Address
Ethereum address, 0x-prefixed.
Prop
Type
Span
Byte range in a source blob.
Prop
Type
Field
A decoded value with its byte position in the source blob.
Prop
Type
PolicyData
Canonical structured representation of a policy.
Prop
Type
Constraint
A collection of operators targeting a specific value.
Prop
Type
DecodedPolicy
Structural representation of a decoded policy with full byte-level spans.
Prop
Type
DecodedGroup
Structural representation of a decoded group with metadata spans.
Prop
Type
DecodedRule
Structural representation of a decoded rule with per-field spans.
Prop
Type
DecodedParam
Structural representation of a decoded parameter within the descriptor.
Prop
Type
Issue
A single validation issue found during policy analysis.
Prop
Type
IssueSeverity
Severity of a validation issue.
Prop
Type
IssueCategory
Category of a validation issue.
Prop
Type
Context
Execution context for context-scoped rules. Each property maps to a well-known EVM execution environment value. Only the properties referenced by the policy need to be supplied.
Prop
Type
EnforceResult
Result of enforcing a policy: pass with matched group index, or fail with one violation per failed group.
Prop
Type
Violation
Details of a single rule failure during enforcement.
Prop
Type
ViolationCode
Machine-readable reason code for an enforcement violation.
Prop
Type