Skip to content

iterVaultIdsInState

iterVaultIdsInState(value): Generator<string>

Defined in: ootle/src/helpers/vault-walker.ts:32

Walk the JSON-rendered tari_bor::Value of a component’s state and yield every 32-byte payload of a Tag(VAULT_ID, Bytes(..)) node — i.e. every vault id the component references. Depth-first, unique by hex payload.

The engine emits values that don’t map cleanly to JSON via a {"@cbor": …} sentinel object; this walker handles tag, map, and bytes sentinels and recurses through plain text-keyed maps and arrays.

unknown

Generator<string>