FincIfNode
Extends:
FincNode → FincIfNode
FincIfNode extends FincNode and implements
If
primitive, which takes two sub-fincontracts and a Gateway address.
Upon execution Gateway defines, which sub-fincontract is valid and which is
not. If Gateway returns 1
then the first sub-fincontract is chosen,
otherwise second sub-fincontract is chosen. Gateway has to conform to
the Gateway interface (see Gateway smart contract at
FincontractMarketplace).
Constructor Summary
Public Constructor | ||
public |
constructor(leftChild: FincNode, rightChild: FincNode, gatewayAddress: String) Constructs FincIfNode with two children and a Gateway address |
Member Summary
Public Members | ||
public |
32-byte address of the blockchain deployed Gateway |
Inherited Summary
From class FincNode | ||
public |
Public Constructors
public constructor(leftChild: FincNode, rightChild: FincNode, gatewayAddress: String) source
Constructs FincIfNode with two children and a Gateway address