SocioAnalyticaThala (add-remove) liquidity
    Updated 2025-02-25

    with add_remove as (
    SELECT
    block_timestamp,
    tx_hash,
    'AddLiquidity' as lp_action,
    SPLIT_PART(SPLIT(event_type, ',')[0], '<', 2) as token_1,
    SPLIT(event_type, ',')[1] as token_2,
    SPLIT_PART(SPLIT(event_type, ',')[0], '::', 5) as symbol_1,
    SPLIT_PART(SPLIT(event_type, ',')[1], '::', 3) as symbol_2,
    event_data:amount_0 as amounts_1,
    event_data:amount_1 as amounts_2,
    success,
    tx_type,
    event_module,
    event_index,
    EVENT_RESOURCE,
    PAYLOAD_FUNCTION
    FROM aptos.core.fact_events
    WHERE
    event_resource ilike 'AddLiquidityEvent%'
    AND event_address = '0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af'
    UNION
    SELECT
    block_timestamp,
    tx_hash,
    'RemoveLiquidity' as lp_action,
    SPLIT_PART(SPLIT(event_type, ',')[0], '<', 2) as token_1,
    SPLIT(event_type, ',')[1] as token_2,
    SPLIT_PART(SPLIT(event_type, ',')[0], '::', 5) as symbol_1,
    SPLIT_PART(SPLIT(event_type, ',')[1], '::', 3) as symbol_2,
    event_data:amount_0 as amounts_1,
    event_data:amount_1 as amounts_2,
    success,
    tx_type,
    event_module,
    Last run: 2 months ago
    POOLS
    TVL
    1
    thAPT - APT10163582
    2
    MOD - THL2624452.39
    3
    USDC - USDC2005255.1
    4
    ABTC - WBTC362142.4
    5
    AmnisApt - APT184636.25
    6
    USDC - MOD44549.4
    7
    APT - stAPT40798.02
    8
    USDC - WETH28285.53
    9
    MOD - APT25247.91
    10
    THL - APT9252.64
    11
    APT - EchoCoin0023768.67
    12
    APT - sthAPT2560.8
    13
    WETH - APT1618.67
    14
    USDC - EchoCoin0021292.88
    15
    WAR - APT712.96
    16
    USDC - WBTC482.75
    17
    USDC - stAPT241.34
    18
    Cake - APT151.06
    19
    THL - sthAPT55.51
    20
    USDT - EchoCoin00243.26
    82
    2KB
    87s