The page is for demonstration of our work of Encode Hackathon 2024. This is the data analysis challenge from https://www.compasslabs.ai/.
‣
🔮 Zuyue Jiang [email protected] 🔮 Grace Chen [email protected] 🔮 Yusi Lei [email protected]
In the world of decentralized finance (DeFi), understanding the behavior of smart contracts is essential for assessing market dynamics, liquidity, and user engagement. In this project, we did an investigation on Ethereum smart contract event data to explore patterns and trends. It provides a foundation for deeper investigations into Ethereum’s DeFi ecosystem. Hope this project could help users to make more reliable decisions and inspire developers to improve protocol design and transaction efficiency.
hackathon_ethereum_events table, where the full process is provided in Compass Labs’ document.check heading 10 rows
select * from hackathon_ethereum_events
limit 10
find unique event_name and check each pattern of event_data
SELECT DISTINCT event_name
FROM hackathon_ethereum_events
SELECT DISTINCT ON (event_name) event_name, event_data FROM hackathon_ethereum_events
ORDER BY event_name, random();
all columns pattern check
SELECT DISTINCT ON (event_name) * FROM hackathon_ethereum_events
ORDER BY event_name, random();
event_nameHere we use box plot and time-series line plot to analyze the distribution and trend of various events (such as Swap, Supply, Withdraw, and ReserveDataUpdated). We highlighted the most frequent interactions within DeFi contracts. Tracking these events over time shows how user behavior or protocol updates influence activity levels. Investigating the event distribution also provides insights into which events drive the most significant interactions.
https://lookerstudio.google.com/embed/reporting/bc5553c4-f4d1-4885-a9ae-2260b34bcab0/page/jhIHE
Common events include: