KaskoazulState of the Art - Daily supply distribution
    Updated 2022-03-06
    SELECT
    balance_type,
    sum(balance)
    FROM
    terra.daily_balances
    WHERE
    date = CURRENT_DATE - 1
    AND currency ='LUNA'
    AND balance > 0
    GROUP BY 1