CryptoIcicleFlash Bounty: GMX Traders - LP Over time
Updated 2022-09-19
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
›
⌄
-- Pay by Quality
-- Your score determines your final payout.
-- Grand Prize 225 USDC (A score of 11 or 12 earns you a Grand Prize title)
-- Payout 150 USDC
-- Score Multiplier0-7 : 0% 8 : 50% 9 : 75% 10 : 100% 11 : 125% 12 : 150%
-- Payout Network Ethereum
-- Level Advanced
-- Difficulty Elite
-- 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.
-- Contracts https://gmxio.gitbook.io/gmx/contracts
-- SQL Credit https://app.flipsidecrypto.com/velocity/queries/88b0d239-c959-4a9b-85cb-58931bcdf169
with
txns as (
select
t.*
from arbitrum.core.fact_event_logs t
where 1=1
and origin_function_signature = '0x364e2311' -- mintAndStakeGlp
and contract_address = '0x4277f8f2c384827b5273592ff7cebd9f2c1ac258' --Token GMX LP
and block_timestamp >= CURRENT_DATE - {{n_days}}
)
select
date_trunc('day',block_timestamp) as date,
count(distinct tx_hash) as n_txns,
count(distinct origin_from_address) as n_wallets
from txns
group by date
Run a query to Download Data