ParsedContextRule

data class ParsedContextRule(val id: UInt, val contextType: ContextRuleType, val name: String, val signers: List<SmartAccountSigner>, val signerIds: List<UInt>, val policies: List<String>, val policyIds: List<UInt>, val validUntil: UInt?)

Parsed representation of a context rule from on-chain data.

Contains all the information about a context rule including its ID, type, associated signers, policies, and optional expiration.

Constructors

Link copied to clipboard
constructor(id: UInt, contextType: ContextRuleType, name: String, signers: List<SmartAccountSigner>, signerIds: List<UInt>, policies: List<String>, policyIds: List<UInt>, validUntil: UInt?)

Properties

Link copied to clipboard

The type of operations this rule applies to

Link copied to clipboard
val id: UInt

The unique identifier of this context rule

Link copied to clipboard

Human-readable name for the rule

Link copied to clipboard

List of policy contract addresses that constrain operations

Link copied to clipboard

Positionally-aligned policy IDs corresponding to policies

Link copied to clipboard

Positionally-aligned signer IDs corresponding to signers

Link copied to clipboard

List of signers who can authorize operations matching this context

Link copied to clipboard

Optional ledger number when this rule expires (null = no expiration)