ADDRESS | BGT_DELEGATED | |
---|---|---|
1 | 0x34d023aca5a227789b45a62d377b5b18a680be01 | 205873.141314 |
2 | 0xac94700e79a510b885014407918805fa0fcaa6e8 | 163892.784017 |
3 | 0xe31959882e951c2895c0fd0f1d28215ca917aa8a | 150130.322358 |
4 | 0x919a957a54d0688690722bfd3ad4e71b030fd6fb | 100505 |
5 | 0xce67e15cbcb3486b29ad44486c5b5d32f361fddc | 100000 |
6 | 0xe0518b5d6bad6e2fee4e930efc489e6c6c0ab235 | 80100 |
7 | 0x8d16ce147aa07af7bf39d8f94249e4bed683ddec | 69420.014187 |
8 | 0x7fc1ccd50ffff00284456de6ebc16b11c8660eb6 | 57950.193704 |
9 | 0x91f6ec3034018aa28962c51ff55ca6e173b34c89 | 51590 |
10 | 0x8ba0e6c581e0fc646511982cabc78d9da78270bc | 41000 |
11 | 0x4e51f68940fac327b2f018b6b79109031031fe8b | 37041.121942 |
12 | 0xa2ce8bb4d2b018ed0f807adc835cb8100baeb9bd | 33507.06989 |
13 | 0x97c3c0eefd5ce2a40c01aa4367b59d209991694a | 31236.6122 |
14 | 0xaa21496f86b3a2318eb660885a1b3637b793d17d | 29999.999997 |
15 | 0x4bb96fc7f7e5064aa78c992028ec963eb500f7b8 | 25452.86515 |
16 | 0x49445612ede0b56c0acf0cfc7c866f5d33ab2d75 | 22944.108313 |
17 | 0x0101eaee8d0013234c32936963ff504a9954220b | 21540.11079 |
18 | 0x69c5669e9d4fe33a51d4ff31c1d5248d1a0d7cfb | 21375.839323 |
19 | 0x37c1322d68734d011adeace6ad39610cc231bc86 | 21000 |
20 | 0xaaefa1f5a034f0dcddaa265a115f96f62f81bedc | 20359.267766 |
purifBeradrome delegators share
Updated 2025-01-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
33
34
›
⌄
with delegations as (
select address, sum(amount) as bgt_delegated from (
select concat('0x',substr(TOPICS[1], 27,64)) as address, sum((ethereum.public.udf_hex_to_int(data)::int)/1e18) as amount
from berachain.testnet.fact_event_logs
where contract_address=lower('0xbda130737bdd9618301681329bf2e46a016ff9ad')
and topics[0]='0x99966631dd6d6c02c5416ca2369709e025ff974a2f1b3f11c8b74acc67731f0e'
and concat('0x',substr(TOPICS[2], 27,64))=LOWER('0x34d023aca5a227789b45a62d377b5b18a680be01')
--and block_timestamp <= timestamp '2024-09-25 16:20'
group by 1
UNION ALL
select concat('0x',substr(TOPICS[1], 27,64)) as address, sum((ethereum.public.udf_hex_to_int(data)::int)/1e18)*-1.0 as amount
from berachain.testnet.fact_event_logs
where contract_address='0xbda130737bdd9618301681329bf2e46a016ff9ad'
and topics[0]='0xdc232a1d360a44eb299ff026b5f6badfe40d17f95b96da5db7168e88662e9a2c'
and concat('0x',substr(TOPICS[2], 27,64))=LOWER('0x34d023aca5a227789b45a62d377b5b18a680be01')
--and block_timestamp <= timestamp '2024-09-25 16:20'
group by 1
)
--deployer, kodiak deployer, foundation and bera team members
--where lower(address) not in (lower('0xac94700e79a510b885014407918805fa0fcaa6e8'),lower('0xce67e15cbcb3486b29ad44486c5b5d32f361fddc'),lower('0x34D023ACa5A227789B45A62D377b5B18A680BE01'),lower('0x4e51f68940fac327b2f018b6b79109031031fe8b'))
group by 1 having sum(amount)>=1000
),
total_delegated as (
select sum(bgt_delegated) as delegated from delegations
)
--change this to time weighted delegations
select address, bgt_delegated from delegations
--, (bgt_delegated/delegated) as share from delegations, total_delegated
order by bgt_delegated desc
Last run: 3 months ago
...
262
15KB
120s