Query editor
-- Query name: USDdw minted by origin-- Engine: DuneSQL. Sources: ethereum.logs, arbitrum.logs (raw logs, no decoding needed).-- Do not edit the setup_txs list: it is fixed, verified history (26 transactions).---- USDdw minted by origin, per credit vault.-- Offchain: tokens minted by the issuer at vault setup to tokenize funds-- already deployed in the strategy (the looped setup deposits, listed-- below by transaction hash: 11 Accountable, 15 Venzo).-- Onchain: every other Deposit, meaning permissionless deposits.-- The first Accountable deposit (Jul 8, owner 0xc9ce...) was redeemed on-- Jul 24 and deposited again as the first setup mints, so it is left out-- to count that capital once.with setup_txs (tx_hash) as (values(0x66b75e3f7b249545fa6e0dc7d6b7b96c2aac0a484988d7fdf40e4926dff7c107), -- Accountable(0x0f8afcad5653738b23cc319ffa02b69f19e3a249649aa8658dd5f5c7f91b7415), -- Accountable(0x2b3619a1aadbf7e7403029084ec51eff75605dc2379e13d5196603c4e6f30a49), -- Accountable(0xafc169f2f1becdaa1d1b6a1b7441e564e4b3d6c08e6eace2b1eb418c68bd64ad), -- Accountable(0x1ace9f74ee1641b76fa682dcddcad21750ceafb51326549f05d664a9e0be94a0), -- Accountable(0x268791d401056a5324173cf4b93868c80468b98b47941b62bdfffc8fcfd012ec), -- Accountable(0x53094757307151db452095b8d276da04d38de9f3b27d179bf043515afd6a81d8), -- Accountable(0x4642f2333ec1d14e3dc7112a8a83d65bf9fb9b5a7d0e0b85dd25c8f29811b33b), -- Accountable(0x4a96bb5fcb71c81fbc023ca0255afdcdd20bccf30bea64f6816f479c7abe1a09), -- Accountable(0x16a24e90c081467429600d9f082121f3e734e76640c0cd816154f68f54eaead6), -- Accountable(0x78b9a7d3dd2b34b64b2d7fd421ec4930022bb5ef45f565bab0465d6e52877ae5), -- Accountable(0x8228188fbe71b9a3ea5a46ad7de33127c731e12c84fe2ce984daf551687aa38f), -- Venzo(0x7646c6bc494b80425329a616181709037929487bf08ca5add43e27201dd9e38d), -- Venzo(0x7d9247cd8042d9091e8bfbb4f0b5fe3ca6a2033b12dcd8fc4fb9785011eac9ff), -- Venzo(0xf6d8d833d6fb1b58571238dc2503dd2d13eea0caa51505c31f0bdf9779c5ba00), -- Venzo(0x97048ef538fbcfd52a332af7969c9de3d2de4c2528ae820144319a0bb1872620), -- Venzo(0xadaac5ffba6eaa846ddc6edd4fba3572c3895a89a87bfca3840467fc2c3a5c81), -- Venzo(0x8181abc923eab6555f4b20f684033d3fe80321a6927e5d09e39a977ab87d0316), -- Venzo(0x726c29febccae21fc6dd96d49bb3c5a86383ebfec39e87185f22608098059166), -- Venzo(0xd79bf9495b3129c84ad1dc300b94d6433075e5c311f7fd86100c4ca4f6c75959), -- Venzo(0xeb5e6c7d9f65e2c32d4404d2f484851b7b9e892f192c0f8be42679310a9baa2a), -- Venzo(0xb41c0cf0a478bca96750a81809e9205e1621cee590b41dcd88b69ee005784452), -- Venzo(0x33818cb8a1098ac8ab15d4f3b53a0739e6972dceda84c2a6c40cdcd41b0237c7), -- Venzo(0x03829e94700635b2d66ef475c87cefdd6065cb233abad2cb3f4c8687ecc54e9a), -- Venzo(0x1dbc69591839639e6bc36062cfaf5cf756c1a7ba038b2be04eff66d88796e95a), -- Venzo(0x63a140e5ee00954c120d8a4ae55c65a559f0a975ce05cc939719a0b8a7af9960) -- Venzo),deposits as (select'Accountable' as vault,tx_hash,bytearray_substring(topic2, 13, 20) as owner,cast(bytearray_to_uint256(bytearray_substring(data, 1, 32)) as double) / 1e6 as usdfrom ethereum.logswhere contract_address = 0x2b5895b716311a1eac8f93fb88c56af9ec8c1a69and topic0 = 0xdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7and block_time >= timestamp '2026-05-25'union allselect'Venzo' as vault,tx_hash,bytearray_substring(topic2, 13, 20) as owner,cast(bytearray_to_uint256(bytearray_substring(data, 1, 32)) as double) / 1e6 as usdfrom arbitrum.logswhere contract_address = 0x9519217e8926a2b39bacd2d6ec3efd02503595e2and topic0 = 0xdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7