KaskoazulGovernors last days - since July 10th - Top 10 Whales
    Updated 2023-01-03
    -- FOLKS FINANCE
    with committed_tx as(
    select distinct block_timestamp,
    tx_group_id,
    sender
    from algorand.application_call_transaction
    where try_base64_decode_binary(tx_message:txn:apaa[1]::string) is NULL
    ),
    committed_amounts as (
    select commits.block_timestamp, commits.tx_group_id as tx_group_id, payment.sender as wallet, payment.amount as commit_amount
    from committed_tx commits
    left join algorand.payment_transaction payment
    on payment.tx_group_id = commits.tx_group_id and payment.sender = commits.sender
    where receiver = 'EPYLSPIP3OOKRBFFWKZJWDSPGCYEKUPYBB677GWC2TFYTMU6QP3JZ7OMOQ'
    ),

    -- ALGOFI
    deposit_AF as (
    select distinct a.sender, p.receiver
    from (
    select tx_group_id, sender, tx_message
    from algorand.application_call_transaction as a
    where app_id = '465814318'
    and try_base64_decode_string(tx_message:txn:note::string) = 'Market: mt'
    ) as a
    join algorand.payment_transaction as p on a.tx_group_id = p.tx_group_id
    ),
    vault_acc_AF as (
    select a.address, d.sender as owner, a.balance, a.created_at
    from algorand.account as a
    join deposit_AF as d on a.address = d.receiver
    ),
    commitment_AF as (
    select block_timestamp,
    s.sender,
    Run a query to Download Data