createCallContractContext

Creates a CallContract context rule type.

CallContract rules apply only when calling a specific contract. Useful for restricting signers to specific dApps or operations.

Return

A ContextRuleType.CallContract for contract-specific authorization

Parameters

contractAddress

The contract address this rule applies to (C-address)

Throws

if the contract address format is invalid

Example:

val contextType = OZBuilders.createCallContractContext("CBCD1234...")