2023-05-24 04:25 PM
Prime Protocol is revolutionizing decentralized finance with its cross-chain native prime brokerage. Users can borrow assets on any chain using their complete portfolio, backed by Axelar technology. The platform has launched on Arbitrum, Avalanche, and Ethereum Mainnet, enabling seamless token deposits and borrowing across these chains. Unfortunately, Moonbeam data is not available.
The dashboard provides key metrics:
- Breakdown by Chain: Distribution of transactions across Arbitrum, Avalanche, and Ethereum Mainnet.
- # of Transactions: Total number of Prime Protocol transactions on supported chains.
- # of Depositors: Number of users depositing assets on each chain.
- # of Borrowers: Count of borrowers accessing liquidity on each chain.
- TVL: Total Value Locked across supported chains.
- Volume by Asset Deposited: Aggregate volume of deposited assets by chain.
- Volume by Asset Borrowed: Total volume of borrowed assets by chain.
The Prime Protocol Dashboard offers insights into cross-chain prime brokerage, empowering informed decisions in the dynamic world of decentralized finance.
To create this dashboard, we followed a systematic approach to analyze Prime Protocol on the Ethereum Mainnet, Arbitrum, and Avalanche chains. Here is an overview of the methodology used:
Identify Chain Addresses: We obtained the relevant addresses for each chain to track the Prime Protocol transactions.
For Ethereum Mainnet, the addresses used were
- '0x67cec45eb8d9f059d4c974a4bdea357b68ad80ef' for USDC and
- '0xd833f882ca07f69c4c5a069675b6b65c235325c3' for ETH.
For Arbitrum, the addresses were
- '0xddc6df52f9749ed80966fb6a9d4c87264cc1e6c1' for USDC and
- '0xc01683398ffcc86264ba17bc36977f51a1d25e06' for WETH.
Lastly, for Avalanche, the addresses used were
- '0x73c5c93e78cb8ca4939307e0d95e032631fb9eee' for USDC,
- '0x1bf6752282039ee82c06de64d094c9e35578a1a0' for WETH.e, and
- '0x4ebba16380feb2083938c008aedd4b5ebea80f72' for USDT.
Utilize ez_token_transfers Tables: We leveraged the ez_token_transfers tables specific to each chain. These tables contain transaction data, allowing us to track deposits made by users through asset sending and borrowing through asset receiving from the identified addresses.
Analyze Transactions: By analyzing the transactions from the identified addresses, we were able to gather key metrics for the dashboard. This includes the number of transactions, depositors, borrowers, total value locked (TVL), and the total volume of assets deposited and borrowed.
By following this methodology and utilizing the available data from the specified chains and addresses, we constructed a comprehensive dashboard that provides insights into Prime Protocol's performance and user engagement.