OZBuilders

object OZBuilders

Builder utilities for OpenZeppelin smart account context rules.

Provides type-safe constructors and display utilities for ContextRuleType and related OZ-specific operations. These functions are separated from SmartAccountBuilders to avoid a circular package dependency between core and oz.

Functions

Link copied to clipboard

Collects unique signers from all context rules, removing duplicates across rules.

Link copied to clipboard
Link copied to clipboard

Creates a CallContract context rule type.

Link copied to clipboard

Creates a CreateContract context rule type from raw WASM hash bytes.

Creates a CreateContract context rule type from a hex-encoded WASM hash.

Link copied to clipboard
Link copied to clipboard

Creates a Default context rule type.