ClaimPredicateXdr

sealed class ClaimPredicateXdr

XDR Source: union ClaimPredicate switch (ClaimPredicateType type) { case CLAIM_PREDICATE_UNCONDITIONAL: void; case CLAIM_PREDICATE_AND: ClaimPredicate andPredicates<2>; case CLAIM_PREDICATE_OR: ClaimPredicate orPredicates<2>; case CLAIM_PREDICATE_NOT: ClaimPredicate* notPredicate; case CLAIM_PREDICATE_BEFORE_ABSOLUTE_TIME: int64 absBefore; // Predicate will be true if closeTime < absBefore case CLAIM_PREDICATE_BEFORE_RELATIVE_TIME: int64 relBefore; // Seconds since closeTime of the ledger in which the // ClaimableBalanceEntry was created };

Inheritors

Types

Link copied to clipboard
data class AbsBefore(val value: Int64Xdr) : ClaimPredicateXdr
Link copied to clipboard
Link copied to clipboard
object Companion
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class RelBefore(val value: Int64Xdr) : ClaimPredicateXdr
Link copied to clipboard
data object Void : ClaimPredicateXdr

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun encode(writer: XdrWriter)