Flipside TeamAlpha 2 evicted
    Updated 9 days ago
    --- staking part
    with tb1 as (select
    BLOCK_TIMESTAMP,
    tx_hash,
    MULTISIG_ADDRESS as multisig,
    OWNER_ADDRESS as owner,
    SERVICE_ID as serviceId,
    row_number() OVER (partition BY serviceId order by BLOCK_TIMESTAMP desc) as r_no
    from crosschain.olas.ez_service_staking
    where PROGRAM_NAME = 'Alpha'
    and EVENT_NAME = 'ServiceStaked'
    ),

    tb2 as (select
    *
    from tb1
    where r_no = 1),

    ---------------------------------------------------------------------------
    --- unstaking part
    tb3 as (select
    BLOCK_TIMESTAMP,
    tx_hash,
    MULTISIG_ADDRESS as multisig,
    OWNER_ADDRESS as owner,
    SERVICE_ID as serviceId,
    row_number() OVER (partition BY serviceId order by BLOCK_TIMESTAMP desc) as r_no
    from crosschain.olas.ez_service_staking
    where PROGRAM_NAME = 'Alpha'
    and EVENT_NAME = 'ServiceUnstaked'
    ),

    tb4 as (select
    *
    from tb3
    where r_no = 1),
    Last run: 9 days ago
    EVICTED
    1
    23
    1
    6B
    27s