Class LiquidityPoolEntry.LiquidityPoolEntryBody

java.lang.Object
org.stellar.sdk.xdr.LiquidityPoolEntry.LiquidityPoolEntryBody
Enclosing class:
LiquidityPoolEntry

public static class LiquidityPoolEntry.LiquidityPoolEntryBody extends Object
LiquidityPoolEntryBody's original definition in the XDR file is:
 union switch (LiquidityPoolType type)
     {
     case LIQUIDITY_POOL_CONSTANT_PRODUCT:
         struct
         {
             LiquidityPoolConstantProductParameters params;

             int64 reserveA;        // amount of A in the pool
             int64 reserveB;        // amount of B in the pool
             int64 totalPoolShares; // total number of pool shares issued
             int64 poolSharesTrustLineCount; // number of trust lines for the
                                             // associated pool shares
         } constantProduct;
     }