Delegate Descriptor
data class DelegateDescriptor(val address: String, val signature: SCValXdr = Scv.toVoid(), val nestedDelegates: List<DelegateDescriptor> = emptyList())
Descriptor for a single delegate in a WITH_DELEGATES credential tree.
Describes one node in the delegate tree: the node's address, its optional pre-populated signature (defaults to void), and any nested delegates it authorizes. The descriptor is immutable.
Duplicate detection and XDR-byte ordering are enforced at tree-construction time by Auth.attachDelegates; this type is a plain data carrier.
Constructors
Link copied to clipboard
constructor(address: String, signature: SCValXdr = Scv.toVoid(), nestedDelegates: List<DelegateDescriptor> = emptyList())
Properties
Link copied to clipboard
Delegates that this node further authorizes. Empty by default; nested arrays are also XDR-byte-sorted on construction.
Link copied to clipboard
The initial signature SCVal for this node. Defaults to void; callers may use Auth.authorizeEntry with Auth.AuthOptions.forAddress to append a real signature after tree construction.