@xo-cash/utils
    Preparing search index...

    Variable xoTemplateStateSchemaConst

    xoTemplateStateSchema: ZodObject<
        { secrets: ZodOptional<(...)>; variables: ZodOptional<(...)> },
        $strict,
    > = ...

    Validation schema for the state configuration shared by a locking script and its individual roles. Declares which variables and secrets are tracked in the on-chain state for a given participant.

    {
    "lockingScripts": {
    "[id]": {
    "state": { "variables": [], "secrets": [] } ← this schema
    "roles": {
    "[roleId]": {
    "state": { "variables": [], "secrets": [] } ← this schema
    }
    }
    }
    }
    }