FincTimeboundNode
Extends:
FincTimeboundNode extends FincNode and implements
Timebound
primitive, which takes a sub-fincontract and makes it valid only
if the current timestamp is between FincTimeboundNode.lowerBound and
FincTimeboundNode.upperBound.
Constructor Summary
Public Constructor | ||
public |
constructor(child: FincNode, lowerBound: Number, upperBound: Number) Constructs FincTimeboundNode with a child and two timestamps: lowerBound (the beginning of Fincontract validity period) and upperBound (the end of Fincontract validity period) |
Member Summary
Public Members | ||
public |
Lower bound as Unix timestamp in seconds |
|
public |
Upper bound as Unix timestamp in seconds |
Inherited Summary
From class FincNode | ||
public |
Public Constructors
public constructor(child: FincNode, lowerBound: Number, upperBound: Number) source
Constructs FincTimeboundNode with a child and two timestamps: lowerBound (the beginning of Fincontract validity period) and upperBound (the end of Fincontract validity period)
Override:
FincNode#constructorParams:
Name | Type | Attribute | Description |
child | FincNode | a sub-fincontract to be embedded inside FincTimeboundNode |
|
lowerBound | Number | lower bound as Unix timestamp in seconds |
|
upperBound | Number | upper bound as Unix timestamp in seconds |