Levana: The Decentralized Perpetual Trading
Levana Protocol is unique in that it offers a number of advantages over other perpetual swap DEXs, in this dashboard, an attempt is made to examine these tools using On-chain data and assess the platform's growth trends.
Levana
Levana is a decentralized exchange (DEX) protocol that allows users to trade perpetual swaps on any asset with up to 30x leverage. It is built on the Cosmos SDK and is currently deployed on the Juno and Sei networks.
Levana Protocol is unique in that it offers a number of advantages over other perpetual swap DEXs, including:
- Zero insolvency risk: Levana Protocol uses a fully-collateralized system to eliminate the risk of insolvency. This means that users' funds are always safe, even if the price of an asset moves sharply.
- Low fees: Levana Protocol charges some of the lowest fees in the industry, making it a cost-effective platform for traders.
- Permissionless: Levana Protocol is permissionless, meaning that anyone can use it without having to create an account or go through a KYC process.
- Censorship-resistant: Levana Protocol is censorship-resistant, meaning that it cannot be shut down by any central authority.
Levana Protocol is a relatively new protocol, but it has quickly gained a following among traders due to its unique features and advantages. It is a good option for traders who are looking for a safe, low-cost, and permissionless way to trade perpetual swaps.
Here are some of the things you can do with Levana Protocol:
- Trade perpetual swaps on any asset with up to 30x leverage: Levana Protocol allows users to trade perpetual swaps on any asset, including cryptocurrencies, stocks, commodities, and indices. Traders can use up to 30x leverage to amplify their gains.
- Long and short assets: Levana Protocol allows users to long and short assets. This means that traders can profit from both rising and falling prices.
- Earn yield by providing liquidity: Levana Protocol allows users to earn yield by providing liquidity to liquidity pools. Liquidity providers earn a portion of the trading fees generated by the pools they deposit their assets in.

As mentioned, Levana provides various tools as a Dex for its users. In this dashboard, an attempt is made to examine these tools using On-chain data and assess the platform's growth trends.
Therefore, initially comprehensive data such as the number of transactions, trading volume, and the number of traders are examined, and various metrics are provided to evaluate this data.
Subsequently, through statistical analysis, deeper insights into the platform's status are explored, and finally, activities related to liquidity pools on this protocol are analyzed and reviewed.
To obtain data related to Levana on Osmosis, the osmosis.core.fact_msg_attributes table is utilized. There are five liquidity pools available on Levana, and transactions related to these pools are filtered using the following filter:
ATTRIBUTE_VALUE IN (
'osmo19c7hdlfvu7cddr0smfz9luaj8375qhfr3s0gtsk087laqfzxlu3qsnk47e',
'osmo186nlf2fwfglq8u4nj3f7mwg8uc79j22qhaau4scdyur47e0fatas34vcn9',
'osmo1nzddhaf086r0rv0gmrepn3ryxsu9qqrh7zmvcexqtfmxqgj0hhps4hruzu',
'osmo1hd7r733w49wrqnxx3daz4gy7kvdhgwsjwn28wj7msjfk4tde89aqjqhu8x',
'osmo127aqy4697zqn27z0vqr3x2n8lraf27t7udvl6ef5hcwmwhjadegq9vytdj'
)
Data is then extracted from the mentioned table. Subsequently, tables are created by joining tx_id transactions and the following msg_type values to obtain the following details:
'wasm-history-trade-volume'
'wasm-position-open'
Additionally, the Attribute_key is limited to the following values:
'volume-usd'
'trading-fee-usd'
'pos-owner'
'direction'
Up to this point, data related to opening a trade on Levana has been obtained. Now, using the same method, data related to closing a trade is also obtained. Finally, by combining this data, all necessary information and desired metrics are extracted.