static

in java/connectors/uniswap/src/main/java/com/epam/deltix/data/connectors/uniswap/subscriptions/PoolSubscription.java [20:80]


    static {
        QUERY_TEMPLATE.arguments().withOrderBy("id");
        QUERY_TEMPLATE.withScalar("id");
        QUERY_TEMPLATE.withScalar("createdAtTimestamp");
        QUERY_TEMPLATE.withScalar("createdAtBlockNumber");

        final GraphQlQuery.Object token0 = QUERY_TEMPLATE.withObject("token0");
        token0.withScalar("id");
        token0.withScalar("symbol");

        final GraphQlQuery.Object token1 = QUERY_TEMPLATE.withObject("token1");
        token1.withScalar("id");
        token1.withScalar("symbol");

        QUERY_TEMPLATE.withScalar("feeTier");
        QUERY_TEMPLATE.withScalar("liquidity");
        QUERY_TEMPLATE.withScalar("sqrtPrice");
        QUERY_TEMPLATE.withScalar("feeGrowthGlobal0X128");
        QUERY_TEMPLATE.withScalar("feeGrowthGlobal1X128");
        QUERY_TEMPLATE.withScalar("token0Price");
        QUERY_TEMPLATE.withScalar("token1Price");
        QUERY_TEMPLATE.withScalar("tick");
        QUERY_TEMPLATE.withScalar("observationIndex");
        QUERY_TEMPLATE.withScalar("volumeToken0");
        QUERY_TEMPLATE.withScalar("volumeToken1");
        QUERY_TEMPLATE.withScalar("volumeUSD");
        QUERY_TEMPLATE.withScalar("untrackedVolumeUSD");
        QUERY_TEMPLATE.withScalar("feesUSD");
        QUERY_TEMPLATE.withScalar("txCount");
        QUERY_TEMPLATE.withScalar("collectedFeesToken0");
        QUERY_TEMPLATE.withScalar("collectedFeesToken1");
        QUERY_TEMPLATE.withScalar("collectedFeesUSD");
        QUERY_TEMPLATE.withScalar("totalValueLockedToken0");
        QUERY_TEMPLATE.withScalar("totalValueLockedToken1");
        QUERY_TEMPLATE.withScalar("totalValueLockedETH");
        QUERY_TEMPLATE.withScalar("totalValueLockedUSD");
        QUERY_TEMPLATE.withScalar("totalValueLockedUSDUntracked");
        QUERY_TEMPLATE.withScalar("liquidityProviderCount");

        final GraphQlQuery.Object poolHourDataId = QUERY_TEMPLATE.withObject("poolHourData");
        poolHourDataId.withScalar("id");

        final GraphQlQuery.Object poolDayData = QUERY_TEMPLATE.withObject("poolDayData");
        poolDayData.withScalar("id");

        final GraphQlQuery.Object mints = QUERY_TEMPLATE.withObject("mints");
        mints.withScalar("id");

        final GraphQlQuery.Object burns = QUERY_TEMPLATE.withObject("burns");
        burns.withScalar("id");

        final GraphQlQuery.Object swaps = QUERY_TEMPLATE.withObject("swaps");
        swaps.withScalar("id");

        final GraphQlQuery.Object collects = QUERY_TEMPLATE.withObject("collects");
        collects.withScalar("id");

        final GraphQlQuery.Object ticks = QUERY_TEMPLATE.withObject("ticks");
        ticks.withScalar("id");

    }