Interface: DelegationScope
@kortexya/reasoninglayer / DelegationScope
Interface: DelegationScope
Section titled “Interface: DelegationScope”Defined in: src/types/compliance.ts:419
One delegation scope of the ledger.
Properties
Section titled “Properties”attestedBy
Section titled “attestedBy”attestedBy:
string|null
Defined in: src/types/compliance.ts:440
The key that attested the commitment, when the sealing request signed it.
Remarks
Section titled “Remarks”null means the scope is committed but not attributed to a key — never
that a signature failed: a failed signature is refused at admission and
never recorded.
children
Section titled “children”children:
string[]
Defined in: src/types/compliance.ts:442
Scopes delegated from this one.
commitment
Section titled “commitment”commitment:
string|null
Defined in: src/types/compliance.ts:431
The RFC 6962 Merkle root committed by the seal, or null while it is open.
depth:
number
Defined in: src/types/compliance.ts:425
0 for a root scope, the parent’s depth + 1 otherwise.
nLeaves
Section titled “nLeaves”nLeaves:
number
Defined in: src/types/compliance.ts:446
Leaves under the commitment: the scope’s records and its children’s seals.
nRecords
Section titled “nRecords”nRecords:
number
Defined in: src/types/compliance.ts:444
Records carrying this scope.
openedBy
Section titled “openedBy”openedBy:
string
Defined in: src/types/compliance.ts:427
The record that opened the scope.
parent
Section titled “parent”parent:
string|null
Defined in: src/types/compliance.ts:423
The scope this one was delegated from; null for a root scope.
scopeId
Section titled “scopeId”scopeId:
string
Defined in: src/types/compliance.ts:421
The scope id (the UUID the requests named in x-osfkb-scope).
sealedBy
Section titled “sealedBy”sealedBy:
string|null
Defined in: src/types/compliance.ts:429
The record that sealed it, or null while it is open.