Updated 2023-08-05
999
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
33
34
35
36
›
⌄
-- forked from 01 - overview pool copy @ https://flipsidecrypto.xyz/edit/queries/12caa3ae-741a-430a-a1f9-8987a0cdb973
-- forked from 01 - overview action @ https://flipsidecrypto.xyz/edit/queries/7aad7f4e-9e7f-4f32-b382-e814b51d8ba5
-- forked from 01 - overview big number @ https://flipsidecrypto.xyz/edit/queries/e9e0add1-97ed-42df-805b-4650592aa0ae
-- forked from 01 - overview @ https://flipsidecrypto.xyz/edit/queries/95958772-9565-4a2b-bac8-acc1c0ad2eb7
--- a.contract_address = lower( '0x79A8438e71dEDaE0371FCB574c58d0248E85d7fB' ) HON - HRO
--- a.contract_address = lower( '0x20b66f4bda4426a93de632c74b879dfa77fb6a03' ) HON - old HRO
--- hon - hro hon - old hro
--- a.origin_function_signature = '0xa694fc3a' and '0xa638f2e2' --- stake ---
--- a.origin_function_signature = '0x2e17de78' --- unstake --- to_arddress not 0x75cd340028105ba5087fe8df75788c71077816b9
with
hon AS
(
SELECT
a.address AS address
, a.symbol AS symbol
, a.name AS name
, a.decimals AS decimals
FROM
avalanche.core.dim_contracts a
WHERE
a.address = lower( '0xEd2b42D3C9c6E97e11755BB37df29B6375ede3EB' )
)
,
hon_price AS
(
SELECT
date_trunc( 'day' , a.hour ) AS day
, avg( a.price ) AS price_usd
Run a query to Download Data