-- forked from Hessish / stark-total users @ https://staging.flipsidecrypto.xyz/Hessish/q/jL4HCg3pqYi8/stark-total-users
SELECT count( DISTINCT contract) from external.tokenflow_starknet.decoded_transactions
where
CHAIN_ID = 'mainnet'
ethereum.core.dim_contracts_extended