Flash Bounty: GMX Traders
-- Analyze the traders utilizing this platform on Arbitrum. -- Identify the top-performing wallets in trades. Compare how traders are performing across various assets, and how traders are performing in relation to liquidity providers. -- Note any trends or outliers you may see.
Methodology
Traders
-
To find how the GMX traders have been doing lately, we look at the GMX documentation to see what qualifies as traders. *
- Both the Perp contract users and the swappers are considered as traders.
-
To see what contract people interact with when they increase or decrease positions we look at the GMX docs.
-
We are specifically interested in the Contract
0x3d6ba331e3d9702c5e8a8d254e5d8a285f223aba
-- Arbitum Position Router, with the following function signatures.'0xc9874170', -- increase position '0xe70dd2fc' -- decrease position
-
Once we have this contract, we find all the transactions interacting with this contract, these are the traders that are interacting with the Perp contract.
-
To find the users interacting with the Swap contract, we look all wallets that interact with
0xabbc5f99639c9b6bcb58544ddf04efa6802f4064
Router with event_nameSwap
Liquidity Providers
-
To find what liquidity providers are we look at the GMX docs.
-
The documentation talks about GLP token[1]
GLP consists of an index of assets used for swaps and leverage trading. It can be minted using any index asset and burnt to redeem any index asset. The price for minting and redemption is calculated based on (total worth of assets in index including profits and losses of open positions) / (GLP supply).
-
To find the Liquidity providers, we look at all the transactions where the wallets Mint and Stake tokens to get GMX LP Token
and origin_function_signature = '0x364e2311' -- mintAndStakeGlp and contract_address = '0x4277f8f2c384827b5273592ff7cebd9f2c1ac258' -- Token GMX LP
-
We define top performing wallets as wallets with the most number of trades either perp or swap or number of LP transactions.
-
Credit to SQL for all the symbols and decimals for the tokens.
Number of LP transactions
- Most days see very less LP transactions, with less than 150 transactions on a daily basis.
- Sep 6, 2022 is surprise where we saw a huge spike with 2.8K LP transactions.
- Recent days did see a small increasing trend as compared to the previous days.
Number of LPers
- Most days see very less LPer, with less than 150 LPers on a daily basis.
- Sep 6, 2022 is surprise where we saw a huge spike with 2.7K LPers.
- Recent days did see a small increasing trend in the number of LPers as compared to the previous days.
Number of Trades
- Not surprisingly, most of the trades are with the perp contract on a daily basis.
- One surprising day with high number of swaps was Sep 6, 2022 where see about 6K swap and 6K perp contract transactions.
- The number of trades has been around 4K on a daily basis for the past 30 days.
- WETH and the USDC are the most common symbols being used by traders.
- Sep 06, 2022 saw majority of the traders using WETH, and a slightly elevated USDC users.
Number of Traders
- Not surprisingly, most of the traders are interacting with the perp contract on a daily basis.
- One surprising day with high number of swaps was Sep 6, 2022 where see about 7K swappers and only 2K perp contract users.
- The number of traders has been around 2K on a daily basis for the past 30 days.
- WETH and the USDC are the most common symbols being used by traders.
- Sep 06, 2022 saw majority of the traders using WETH, and a slightly elevated USDC users.
