Query editor
-- **AUDD Stablecoin Mint and Burn **-- This query tracks minting and burning events of the AUDD-- stablecoin by analyzing transaction data, helping assess user activity and token supply changes.-- Secondary market distro-- from a set of minters-- To: distro destination addressesWITH distro_to AS (SELECTevt_tx_hash,evt_block_time,"to" AS "user",value / POW(10,6) as "audd_amount",'distro_to' as "type"from erc20_ethereum.evt_transferwhere contract_address = 0x4cCe605eD955295432958d8951D0B176C10720d5 -- AUDD token contract (Ethereum)and "from" in (select address from query_6064281) -- minters at AUDD (Ethereum)and "to" <> 0x0000000000000000000000000000000000000000),-- To: redemption source addressesredeem_from AS (SELECTevt_tx_hash,evt_block_time,"from" AS "user",-1 * (value / POW(10,6)) as "audd_amount",'redeem_from' as "type"from erc20_ethereum.evt_transferwhere contract_address = 0x4cCe605eD955295432958d8951D0B176C10720d5 -- AUDD token contract (Ethereum)and "to" in (select address from query_6064281) -- minters at AUDD (Ethereum)and "from" <> 0x0000000000000000000000000000000000000000), distro_redeem as(SELECT*FROM (SELECT * FROM distro_toUNION ALLSELECT * FROM redeem_from))selectuser as address, sum(audd_amount) as audd_amount, min(evt_block_time) as first_tx, max(evt_block_time) as last_txfrom distro_redeemgroup by 1order by 2 desc-- ORDER BY evt_block_time DESC