Skip to content
Dune Analytics

@slash125 / Daily reward per lot + 30d MAs

Daily reward per lot + 30d MAs


About queries and results

Dune Analytics lets you explore, create, and share Ethereum analytics. You can find an endless amount of great queries and dashboards on Dune.

We have decoded Ethereum smart contract data so you can do powerful analysis with simple SQL queries and visualise the query results into beautiful graphs.

Dune Analytics is free for everyone forever. If you want extra features like private queries, export your results and more check out our Pro plan.

SQL query results


SQL query

1WITH total AS
3          SUM(transfer) OVER (
4                              ORDER BY DAY) total_supply FROM
5     (SELECT date_trunc('day', call_block_time) AS DAY, sum(amount) AS transfer
6      FROM hegic."HegicStakingWBTC_call_buy"
7      WHERE call_success = TRUE
8      GROUP BY 1
9      UNION SELECT date_trunc('day', call_block_time) AS DAY, sum(-amount) AS transfer
10      FROM hegic."HegicStakingWBTC_call_sell"
11      WHERE call_success = TRUE
12      GROUP BY 1
13      ORDER BY 1) AS net),
14     wbtc AS
15  (SELECT date_trunc('day', call_block_time) AS DAY,
16          sum("settlementFee"/10^8) AS wbtc_settlement
17   FROM hegic."HegicWBTCOptions_call_create" h
18   JOIN hegic."HegicWBTCOptions_evt_Create" g ON h.call_tx_hash = g.evt_tx_hash
19   WHERE call_success = TRUE
20     AND evt_block_number > '11024342'
21   GROUP BY 1
22   ORDER BY 1 ),
23     wbtc_last AS
24  (SELECT distinct(,
25          wbtc_settlement,...