Parsec guide
  • Parsec Explorer
  • Terminal intro
  • DeFi Elements
    • Price Candles
    • Trades Stream
    • DeFi Firehose
    • Asset Overview
    • Custom Table
    • Trending Assets
    • Asset Screener
    • Token Accumulation
    • Token Holders Treemap
    • Token Holders
    • DeFi Volume Monitor
    • Timeseries
    • Interest Rates Chart
    • Order Book
    • Liquidations Chart
    • Market Cap Visualization
    • Lending Markets Treemap
    • Correlations
    • Trade Size Chart
    • Price Comparison
    • Contract Logs
    • Liquidations Treemap
    • DeFi Liquidations Historical
    • Tx Watcher
    • Trending Contracts
    • Address Token Flows
    • Tx Viewer
    • Transfers Table
    • Contract Viewer
    • Lending Markets
    • Lending Positions Detailed
    • Lending Portfolio
    • Lending Market Detailed
    • Liquidity Pools
    • UniV3 Lp Positions
    • UniV3 Lp Position Detailed
    • Curve Pools Detailed
    • Portfolio Assets
    • Trades/Positions
    • Portfolio Map
    • Token Balance
    • Perpetual Contracts
    • Perpetuals Positions
    • Stablecoin Volume Profile
  • ETH Elements
    • ETH Staking Price
    • ETH Staking Flows
    • ETH Validator Flows
    • ETH Staking Withdrawals
    • ETH Staking Projection
    • ETH Staking Yields
    • ETH LSDs
    • Eth Gas Metrics
    • MEV Boost
  • NFT elements
    • NFT price chart
    • NFT firehose
    • NFT trades stream
    • Listings stream
    • Collection overview
    • NFT holders table
    • Holders treemap
    • NFT collections table
    • NFT portfolio
    • NFT collection view
    • NFT price comparison
    • NFT collection flows
    • Listings profile
    • NFT screener
    • NFT traits table
    • NFT volume monitor
    • NFT bid offer ratio
    • NFT last prices
    • NFT liquidation prices
    • Blend loan visualizer
    • Sudoswap specific elements
  • Miscellaneous features
    • Search bar
    • Parsec API
    • CSV exports
    • Notifications
    • Lists
    • Address Controller
    • Shared layouts
    • Protocols
    • Friend Tech Leaderboard
    • Trollbox
    • Notepad
    • News Feed
    • Daily Blurb
Powered by GitBook
On this page
  1. DeFi Elements

Contract Logs

PreviousPrice ComparisonNextLiquidations Treemap

Last updated 1 year ago

Similar to the element, Contract Logs is up there with the most customisable and powerful elements within parsec.

At a high level it allows the event logs and their topics from any arbitrary contract to be visualised, as such the possibilities are endless and are only bounded by a user's curiosity and creativity!

The element allows us to customise axis, add multiple sources, perform transformations on sources, combine sources, add filters to topics, perform group by operations and plenty more. It has a relatively steep learning curve but once mastered it is a very powerful tool.

Here are some examples of how we might use the element:

To visualise the mints and burns of a Stablecoin:

Here we take the contract address of the Stablecoin in question and visualise transfers from and to the Burn address which represent mints and burns respectively. To create the visualisation we perform a simple transformation on the burn data source (*-1) and combine the 2 sources on 1 chart.

To look at liquidations on a decentralised perpetuals venue such as GMX:

Here we take the relevant contract address and select the LiquidatePosition event log grouping by indexToken and using a stacked bar visualisation to display the chart.

To look at inflows or compare the inflows of projects we are interested in:

Here we simply take the relevant contracts from each protocol and visualise the deposit logs from each, combining the data sources to create the visualisation.

Custom Table