Query editor
WITH lock_situation AS (SELECTCOUNT(DISTINCT provider) AS lock_num,SUM(value) AS valueFROM query_3012163),total_address AS (SELECTCOUNT(DISTINCT address) AS total_num,sum(value) as total_ox_on_chainFROM (selectaddress as address,sum(value) as valuefrom(SELECTto AS address,SUM(value / 1e18) AS valueFROM erc20_ethereum.evt_TransferWHEREcontract_address = 0x78a0A62Fba6Fb21A83FE8a3433d44C73a4017A6fand "from" not in (0x28901cf869d94c9d892fbd86c8e57b801e8fdd87)and to not in (0x28901cf869d94c9d892fbd86c8e57b801e8fdd87)and DATE_TRUNC('day', evt_block_time) > date '2023-03-01'GROUP BY 1union allSELECT"from" AS address,-1 * SUM(value / 1e18) AS valueFROM erc20_ethereum.evt_TransferWHEREcontract_address = 0x78a0A62Fba6Fb21A83FE8a3433d44C73a4017A6fand "from" not in (0x28901cf869d94c9d892fbd86c8e57b801e8fdd87)and to not in (0x28901cf869d94c9d892fbd86c8e57b801e8fdd87)and DATE_TRUNC('day', evt_block_time) > date '2023-03-01'GROUP BY 1)GROUP BY1HAVINGSUM(value) > 1)),total_supply AS (SELECToutput_0/ 1e18 AS total_supplyFROM opnx_ethereum.OpenExchangeToken_call_totalSupplyORDER BY call_block_time DESC