DIS | TX_COUNT | |
---|---|---|
1 | A. < 0.000001 BTC | 825 |
2 | B. [0.000001, 0.00001) BTC | 250 |
3 | C. [0.00001, 0.0001) BTC | 1120 |
4 | D. [0.0001, 0.0003) BTC | 14379 |
5 | E. [0.0003, 0.001) BTC | 2180 |
6 | F. [0.001, 0.01) BTC | 495 |
7 | G. [0.01, 0.1) BTC | 40 |
8 | H. [0.1, 1) BTC | 18 |
9 | I. > 1 BTC | 1 |
elsinaDistribution of Collateral (BTC)
Updated 2025-04-30
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
35
36
›
⌄
with base as (
select
tx_hash,
from_address,
value as collateral,
regexp_substr_all(SUBSTR(INPUT_data, 11, len(INPUT_data)), '.{64}') AS segmented_data,
ethereum.public.udf_hex_to_int(segmented_data[1])::float / POW(10, 18) AS borrow
from mezo.testnet.fact_transactions
where
to_address = '0x20faea18b6a1d0fcdbccfffe3d164314744baf30' --BorrowerOperations contract
and tx_succeeded = 'True'
and ORIGIN_FUNCTION_SIGNATURE = '0x8f09162b' --openTrove
union all
select
tx_hash,
from_address,
value as collateral,
regexp_substr_all(SUBSTR(INPUT_data, 11, len(INPUT_data)), '.{64}') AS segmented_data,
ethereum.public.udf_hex_to_int(segmented_data[2])::float / POW(10, 18) AS borrow
from mezo.testnet.fact_transactions
where
to_address = '0x20faea18b6a1d0fcdbccfffe3d164314744baf30' --BorrowerOperations contract
and tx_succeeded = 'True'
and ORIGIN_FUNCTION_SIGNATURE = '0x8e54c119' --adjustTrove
)
select
case
when collateral < 0.000001 then 'A. < 0.000001 BTC'
when collateral < 0.00001 then 'B. [0.000001, 0.00001) BTC'
when collateral < 0.0001 then 'C. [0.00001, 0.0001) BTC'
when collateral < 0.0003 then 'D. [0.0001, 0.0003) BTC'
when collateral < 0.001 then 'E. [0.0003, 0.001) BTC'
Last run: 30 days ago
9
257B
1s