Terms
data class Terms<P : Any>(val acceptableContracts: NonEmptySet<SecureHash>, val acceptableIssuedProducts: NonEmptySet<Issued<P>>, val dueBefore: Instant, val timeTolerance: Duration = 30.seconds)
Subset of state, containing the elements specified when issuing a new settlement contract.
Parameters
P
the product the obligation is for payment of.
acceptable Contracts
is the contract types that can be accepted, such as cash.
acceptable Issued Products
is the assets which are acceptable forms of payment (i.e. GBP issued by the Bank of England).
due Before
when payment is due by.
time Tolerance
tolerance value on dueBefore, to handle clock skew between distributed systems. Generally this would be about 30 seconds.
Constructors
Link copied to clipboard
constructor(acceptableContracts: NonEmptySet<SecureHash>, acceptableIssuedProducts: NonEmptySet<Issued<P>>, dueBefore: Instant, timeTolerance: Duration = 30.seconds)