Skip to content

Commit

Permalink
[Auto] Substrate-etl Summary (2023-10-09 16:11)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Oct 9, 2023
1 parent c86ac30 commit f86050c
Show file tree
Hide file tree
Showing 243 changed files with 13,851 additions and 551 deletions.
4 changes: 2 additions & 2 deletions SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ Source: [Polkaholic.io](https://polkaholic.io)

| Network | Indexed up until | # Chains Indexed | # Chains Not Indexed | # Blocks Across Network | # Blocks Missing |
| ---------------- | ---------------- | ---------------- | -------------------- | ------------------------- | ---------------- |
| [polkadot](polkadot) | 2023-09-21 | 35 | 4 | 113,563,616 | 3,692,481 |
| [kusama](kusama) | 2023-09-21 | 42 | 8 | 153,095,660 | 5,248,031 |
| [polkadot](polkadot) | 2023-09-30 | 35 | 4 | 115,729,878 | 3,773,061 |
| [kusama](kusama) | 2023-09-30 | 42 | 8 | 155,637,543 | 5,231,604 |

Report source: [https://cdn.polkaholic.io/substrate-etl/polkaholic.json](https://cdn.polkaholic.io/substrate-etl/polkaholic.json) | See [Definitions](/DEFINITIONS.md) for details

Expand Down
4 changes: 2 additions & 2 deletions kusama/0-kusama/2023-08-31.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ _Source_: [kusama.polkaholic.io](https://kusama.polkaholic.io)
| 2023-08-29 | 19,438,641 | 19,453,011 | 14,371 | 2,980 | 1,881 | 214 | 113 | 295,161 | 703,474 | 1,098 ($740,043.37) | 48 ($14,270.84) | 53 ($11,050.48) | 59 | 64 | |
| 2023-08-28 | 19,424,275 | 19,438,640 | 14,366 | 3,055 | 1,796 | 217 | 93 | 295,079 | 738,450 | 1,100 ($1,414,629.37) | 52 ($28,358.62) | 52 ($38,789.65) | 31 | 20 | |
| 2023-08-27 | 19,409,896 | 19,424,274 | 14,379 | 2,668 | 1,757 | 184 | 63 | 295,014 | 695,858 | 968 ($1,899,990.41) | 81 ($285,992.68) | 83 ($12,224.76) | 36 | 34 | |
| 2023-08-26 | 19,395,519 | 19,409,895 | 14,355 | 2,864 | 1,633 | 188 | 74 | 294,964 | 693,874 | 1,370 ($298,993.24) | 26 ($1,224.73) | 41 ($8,549.89) | 40 | 51 | 22 missing (0.15%) |
| 2023-08-25 | 19,381,148 | 19,395,518 | | 3,106 | 757 | 167 | 93 | 294,920 | 825,749 | 1,054 ($1,709,284.99) | 50 ($80,521.68) | 79 ($34,669.79) | 72 | 86 | |
| 2023-08-26 | 19,395,519 | 19,409,895 | 14,377 | | 1,633 | 188 | 74 | 294,964 | | | 26 ($1,224.73) | 41 ($8,549.89) | 40 | 51 | |
| 2023-08-25 | 19,381,148 | 19,395,518 | 14,371 | 2,648 | 757 | 167 | 93 | 294,920 | 687,648 | 867 ($1,670,644.01) | 50 ($80,521.68) | 79 ($34,669.79) | 72 | 86 | |
| 2023-08-24 | 19,366,772 | 19,381,147 | 14,376 | 3,496 | 2,049 | 406 | 252 | 294,849 | 701,661 | 1,558 ($1,751,778.74) | 49 ($23,951.15) | 98 ($13,159.03) | 99 | 142 | |
| 2023-08-23 | 19,352,389 | 19,366,771 | 14,383 | 2,990 | 1,888 | 976 | 115 | 294,631 | 692,809 | 2,067 ($998,281.99) | 88 ($30,746.66) | 83 ($9,268.48) | 115 | 97 | |
| 2023-08-22 | 19,338,016 | 19,352,388 | 14,373 | 3,425 | 1,975 | 233 | 86 | 294,548 | 718,492 | 1,503 ($1,469,814.44) | 87 ($17,287.89) | 124 ($108,044.88) | 173 | 206 | |
Expand Down
25 changes: 17 additions & 8 deletions kusama/0-kusama/2023-09-30.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,26 @@ _Source_: [kusama.polkaholic.io](https://kusama.polkaholic.io)

| Date | Start Block | End Block | # Blocks | # Extrinsics | # Active Accounts | # Passive Accounts | # New Accounts | # Addresses | # Events | # Transfers ($USD) | # XCM Transfers In ($USD) | # XCM Transfers Out ($USD) | # XCM In | # XCM Out | Issues |
|---------|-------------|-----------|----------|--------------|-------------------|--------------------|----------------|-------------|-----------|--------------------|---------------------------|----------------------------|----------|-----------|--------|
| 2023-09-21 | | | | | | | | | | | | | | | |
| 2023-09-20 | | | | 3,546 | 750 | 187 | 71 | 296,309 | 815,459 | 1,382 ($1,290,872.68) | | | | | |
| 2023-09-19 | | | | 2,920 | 705 | 189 | 63 | 296,260 | 737,210 | 988 ($609,962.47) | | | | | |
| 2023-09-30 | | | | 2,721 | 665 | 197 | 72 | 296,935 | 721,754 | 1,127 ($1,426,176.97) | 48 ($9,453.10) | 56 ($8,211.99) | 92 | 107 | |
| 2023-09-29 | 19,884,119 | 19,898,498 | 14,380 | 3,320 | 1,711 | 212 | 98 | 296,884 | 747,699 | 1,074 ($1,147,874.84) | 32 ($7,648.43) | 35 ($3,244.16) | 45 | 49 | |
| 2023-09-28 | 19,869,762 | 19,884,118 | 14,356 | 2,580 | 1,682 | 208 | 105 | 296,798 | 701,835 | 1,091 ($1,595,839.16) | 43 ($11,288.14) | 42 ($8,482.96) | 70 | 76 | 1 missing (0.01%) |
| 2023-09-27 | 19,855,373 | 19,869,761 | 14,389 | 2,970 | 1,721 | 190 | 135 | 296,705 | 705,104 | 1,063 ($922,825.57) | 44 ($16,127.00) | 26 ($3,456.72) | 71 | 56 | |
| 2023-09-26 | 19,840,985 | 19,855,372 | 14,388 | 4,985 | 634 | 193 | 55 | 296,583 | 722,094 | 916 ($1,110,714.59) | 46 ($23,954.64) | 29 ($38,747.13) | 89 | 78 | |
| 2023-09-25 | 19,826,627 | 19,840,984 | 14,358 | 4,143 | 1,716 | 193 | 79 | 296,541 | 794,529 | 1,023 ($1,033,855.59) | 59 ($46,270.79) | 38 ($43,903.91) | 143 | 138 | |
| 2023-09-24 | 19,812,254 | 19,826,626 | 14,373 | 2,572 | 1,645 | 174 | 55 | 296,482 | 704,923 | 1,314 ($435,687.73) | 27 ($3,556.11) | 19 ($1,038.50) | 52 | 49 | |
| 2023-09-23 | 19,797,887 | 19,812,253 | 14,367 | 2,324 | 1,615 | 103 | 62 | 296,446 | 689,100 | 534 ($292,036.55) | 21 ($6,554.94) | 26 ($10,941.41) | 38 | 50 | |
| 2023-09-22 | 19,783,492 | 19,797,886 | 14,395 | 2,994 | 577 | 170 | 64 | 296,400 | 719,727 | 1,013 ($961,007.65) | 24 ($41,238.56) | 42 ($4,501.05) | 33 | 63 | |
| 2023-09-21 | 19,769,104 | 19,783,491 | 14,388 | 3,206 | 583 | 164 | 75 | 296,359 | 733,640 | 1,005 ($813,740.05) | 31 ($6,299.32) | 22 ($6,362.51) | 42 | 31 | |
| 2023-09-20 | 19,754,719 | 19,769,103 | 14,385 | 3,029 | 750 | 187 | 71 | 296,309 | 701,665 | 1,017 ($1,182,003.74) | 49 ($19,030.64) | 23 ($6,795.20) | 76 | 48 | |
| 2023-09-19 | 19,740,372 | 19,754,718 | 14,347 | 2,920 | 705 | 189 | 63 | 296,260 | 737,210 | 988 ($609,962.47) | 41 ($17,478.38) | 11 ($20,394.50) | 54 | 23 | |
| 2023-09-18 | 19,726,008 | 19,740,371 | 14,364 | 2,844 | 1,758 | 196 | 69 | 296,215 | 726,892 | 1,036 ($888,832.20) | 54 ($11,707.54) | 27 ($4,527.09) | 66 | 40 | |
| 2023-09-17 | 19,711,664 | 19,726,007 | 14,344 | 2,666 | 645 | 169 | 63 | 296,167 | 690,494 | 951 ($586,644.58) | 41 ($35,369.96) | 34 ($11,519.73) | 59 | 54 | |
| 2023-09-16 | 19,697,314 | 19,711,663 | 14,350 | 3,073 | 1,671 | 160 | 2,054 | 296,125 | 718,412 | 956 ($524,736.60) | 51 ($16,412.64) | 27 ($14,093.14) | 71 | 51 | |
| 2023-09-15 | 19,682,988 | 19,697,313 | 14,326 | 3,157 | 1,744 | 195 | 60 | 294,084 | 708,713 | 1,008 ($435,154.79) | 58 ($30,988.54) | 26 ($5,176.49) | 88 | 62 | |
| 2023-09-16 | 19,697,314 | 19,711,663 | 14,350 | 3,073 | 1,671 | 160 | 2,054 | 296,125 | 718,412 | 956 ($524,736.60) | 51 ($16,412.64) | 27 ($14,093.14) | 70 | 51 | |
| 2023-09-15 | 19,682,988 | 19,697,313 | 14,326 | 3,157 | 1,744 | 195 | 60 | 294,084 | 708,713 | 1,008 ($435,154.79) | 58 ($30,988.54) | 26 ($5,176.49) | 86 | 61 | |
| 2023-09-14 | 19,668,642 | 19,682,987 | 14,346 | 2,918 | 1,749 | 180 | 71 | 296,033 | 720,102 | 946 ($384,755.34) | 41 ($15,087.30) | 50 ($6,420.55) | 74 | 90 | |
| 2023-09-13 | 19,654,273 | 19,668,641 | 14,369 | 3,290 | 938 | 231 | 85 | 295,988 | 694,641 | 1,089 ($819,107.73) | 52 ($10,763.10) | 46 ($11,311.29) | 78 | 84 | |
| 2023-09-12 | 19,639,911 | 19,654,272 | 14,362 | 2,767 | 1,727 | 200 | 66 | 295,919 | 685,879 | 1,034 ($1,233,892.34) | 50 ($19,539.22) | 37 ($9,625.07) | 86 | 85 | |
| 2023-09-11 | 19,625,546 | 19,639,910 | 14,365 | 3,310 | 1,771 | 222 | 64 | 295,865 | 752,087 | 1,165 ($922,827.22) | 102 ($36,140.55) | 97 ($17,882.00) | 231 | 257 | |
| 2023-09-13 | 19,654,273 | 19,668,641 | 14,369 | 3,290 | 938 | 231 | 85 | 295,988 | 694,641 | 1,089 ($819,107.73) | 52 ($10,763.10) | 46 ($11,311.29) | 75 | 78 | |
| 2023-09-12 | 19,639,911 | 19,654,272 | 14,362 | 2,767 | 1,727 | 200 | 66 | 295,919 | 685,879 | 1,034 ($1,233,892.34) | 50 ($19,539.22) | 37 ($9,625.07) | 80 | 83 | |
| 2023-09-11 | 19,625,546 | 19,639,910 | 14,365 | 3,310 | 1,771 | 222 | 64 | 295,865 | 752,087 | 1,165 ($922,827.22) | 102 ($36,140.55) | 97 ($17,882.00) | 223 | 246 | |
| 2023-09-10 | 19,611,165 | 19,625,545 | 14,381 | 2,411 | 1,614 | 174 | 61 | 295,824 | 686,882 | 920 ($407,921.80) | 43 ($9,992.79) | 41 ($6,918.14) | 70 | 76 | |
| 2023-09-09 | 19,596,805 | 19,611,164 | 14,360 | 2,523 | 1,629 | 157 | 60 | 295,778 | 697,261 | 852 ($234,650.68) | 41 ($15,743.79) | 21 ($6,455.68) | 61 | 51 | |
| 2023-09-08 | 19,582,436 | 19,596,804 | 14,369 | 2,554 | 1,681 | 180 | 74 | 295,738 | 677,981 | 913 ($494,094.62) | 55 ($18,745.62) | 36 ($7,688.50) | 99 | 92 | |
Expand Down
183 changes: 183 additions & 0 deletions kusama/0-kusama/2023-10-31.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,183 @@
# Kusama Summary (Daily)

_Source_: [kusama.polkaholic.io](https://kusama.polkaholic.io)

*Relay Chain*: kusama
*Para ID*: 0



### Daily Summary for Month ending in 2023-10-31


| Date | Start Block | End Block | # Blocks | # Extrinsics | # Active Accounts | # Passive Accounts | # New Accounts | # Addresses | # Events | # Transfers ($USD) | # XCM Transfers In ($USD) | # XCM Transfers Out ($USD) | # XCM In | # XCM Out | Issues |
|---------|-------------|-----------|----------|--------------|-------------------|--------------------|----------------|-------------|-----------|--------------------|---------------------------|----------------------------|----------|-----------|--------|
| 2023-10-09 | | | | | | | | | | | | | | | |
| 2023-10-08 | 20,013,539 | 20,027,899 | 14,349 | 2,467 | 589 | 156 | 54 | 297,384 | 670,351 | 866 ($308,511.20) | | | | | 12 missing (0.08%) |
| 2023-10-07 | | | | 3,355 | 580 | 186 | 62 | 297,347 | 783,774 | 1,012 ($707,027.71) | | | | | |
| 2023-10-06 | 19,984,797 | 19,999,173 | 14,316 | 2,801 | 1,657 | 386 | 80 | 297,309 | 681,109 | 1,158 ($2,409,469.59) | | | | | 61 missing (0.42%) |
| 2023-10-05 | 19,970,405 | 19,984,796 | 14,267 | 2,749 | 1,679 | 228 | 69 | 297,245 | 662,116 | 1,104 ($879,984.81) | 53 ($76,052.18) | 36 ($4,173.03) | 94 | 97 | 125 missing (0.87%) |
| 2023-10-04 | | | | 3,531 | 771 | 363 | 93 | 297,202 | 757,348 | 1,367 ($4,688,925.99) | 46 ($19,472.90) | 47 ($6,940.22) | 65 | 82 | |
| 2023-10-03 | | | | 3,848 | 813 | 235 | 105 | 297,124 | 877,247 | 1,419 ($1,117,782.90) | 47 ($138,308.97) | 53 ($7,175.21) | 76 | 93 | |
| 2023-10-02 | 19,927,269 | 19,941,640 | 14,365 | 3,813 | 878 | 218 | 92 | 297,051 | 903,808 | 1,423 ($1,213,154.46) | 83 ($35,030.60) | 27 ($3,556.77) | 159 | 107 | 7 missing (0.05%) |
| 2023-10-01 | | | | 3,044 | 758 | 191 | 83 | 296,999 | 791,026 | 1,198 ($890,297.64) | 89 ($20,905.98) | 46 ($82,962.85) | 147 | 129 | |

## Sample Queries:
You can generate the above summary data using the following queries using the public dataset `bigquery-public-data.crypto_kusama` in Google BigQuery:


### Blocks

[Schema](https://github.com/colorfulnotion/substrate-etl/blob/main/schema/blocks.json)

```bash
SELECT date(block_time) as logDT, MIN(number) startBN, MAX(number) endBN, COUNT(*) numBlocks
FROM `bigquery-public-data.crypto_kusama.blocks0`
where LAST_DAY(date(block_time)) = "2023-10-31"
group by logDT
order by logDT
```

### Signed Extrinsics

[Schema](https://github.com/colorfulnotion/substrate-etl/blob/main/schema/extrinsics.json)

```bash
SELECT date(block_time) as logDT,
COUNT(*) numSignedExtrinsics
FROM `bigquery-public-data.crypto_kusama.extrinsics0`
where signed and LAST_DAY(date(block_time)) = "2023-10-31"
group by logDT
order by logDT
```

### Active Accounts

[Schema](https://github.com/colorfulnotion/substrate-etl/blob/main/schema/accountsactive.json)

```bash
SELECT date(ts) as logDT,
COUNT(*) numActiveAccounts
FROM `bigquery-public-data.crypto_kusama.accountsactive0`
where LAST_DAY(date(ts)) = "2023-10-31"
group by logDT
order by logDT
```

### Passive Accounts

[Schema](https://github.com/colorfulnotion/substrate-etl/blob/main/schema/accountspassive.json)

```bash
SELECT date(ts) as logDT,
COUNT(*) numPassiveAccounts
FROM `bigquery-public-data.crypto_kusama.accountspassive0`
where LAST_DAY(date(ts)) = "2023-10-31"
group by logDT
order by logDT
```

### New Accounts

[Schema](https://github.com/colorfulnotion/substrate-etl/blob/main/schema/accountsnew.json)

```bash
SELECT date(ts) as logDT,
COUNT(*) numNewAccounts
FROM `bigquery-public-data.crypto_kusama.accountsnew0`
where LAST_DAY(date(ts)) = "2023-10-31"
group by logDT
order by logDT
```

### Addresses with Balances

[Schema](https://github.com/colorfulnotion/substrate-etl/blob/main/schema/balances.json)

```bash
SELECT date(ts) as logDT,
COUNT(distinct address_pubkey) numAddress
FROM `bigquery-public-data.crypto_kusama.balances0`
where LAST_DAY(date(ts)) = "2023-10-31"
group by logDT
order by logDT
```

### Events

[Schema](https://github.com/colorfulnotion/substrate-etl/blob/main/schema/events.json)

```bash
SELECT date(block_time) as logDT,
COUNT(*) numEvents
FROM `bigquery-public-data.crypto_kusama.events0`
where LAST_DAY(date(block_time)) = "2023-10-31"
group by logDT
order by logDT
```

### Transfers:

[Schema](https://github.com/colorfulnotion/substrate-etl/blob/main/schema/transfers.json)

```bash
SELECT date(block_time) as logDT,
COUNT(*) numEvents
FROM `bigquery-public-data.crypto_kusama.transfers0`
where LAST_DAY(date(block_time)) = "2023-10-31"
group by logDT
order by logDT
```

### XCM Transfers In:

[Schema](https://github.com/colorfulnotion/substrate-etl/blob/main/schema/xcmtransfers.json)

```bash
SELECT date(origination_ts) as logDT,
COUNT(*) numXCMTransfersOut
FROM `bigquery-public-data.crypto_kusama.xcmtransfers`
where destination_para_id = 0 and LAST_DAY(date(origination_ts)) = "2023-10-31"
group by logDT order by logDT
```

### XCM Transfers Out:

[Schema](https://github.com/colorfulnotion/substrate-etl/blob/main/schema/xcmtransfers.json)

```bash
SELECT date(origination_ts) as logDT,
COUNT(*) numXCMTransfersIn
FROM `bigquery-public-data.crypto_kusama.xcmtransfers`
where origination_para_id = 0 and LAST_DAY(date(origination_ts)) = "2023-10-31"
group by logDT
order by logDT
```

### XCM Messages In:

[Schema](https://github.com/colorfulnotion/substrate-etl/blob/main/schema/xcm.json)

```bash
SELECT date(origination_ts) as logDT,
COUNT(*) numXCMMessagesOut
FROM `bigquery-public-data.crypto_kusama.xcm`
where destination_para_id = 0 and LAST_DAY(date(origination_ts)) = "2023-10-31"
group by logDT order by logDT
```

### XCM Messages Out:

[Schema](https://github.com/colorfulnotion/substrate-etl/blob/main/schema/xcm.json)

```bash
SELECT date(origination_ts) as logDT,
COUNT(*) numXCMMessagesIn
FROM `bigquery-public-data.crypto_kusama.xcm`
where origination_para_id = 0 and LAST_DAY(date(origination_ts)) = "2023-10-31"
group by logDT
order by logDT
```


Report source: [https://cdn.polkaholic.io/substrate-etl/kusama/0.json](https://cdn.polkaholic.io/substrate-etl/kusama/0.json) | See [Definitions](/DEFINITIONS.md) for details
5 changes: 3 additions & 2 deletions kusama/0-kusama/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ _Source_: [kusama.polkaholic.io](https://kusama.polkaholic.io)

| Month | Start Block | End Block | # Blocks | # Signed Extrinsics (total) | # Active Accounts (avg) | # Addresses with Balances (max) | Issues |
| ----- | ----------- | --------- | -------- | --------------------------- | ----------------------- | ------------------------------- | ------ |
| [2023-09-01 to 2023-09-21](/kusama/0-kusama/2023-09-30.md) | 19,481,782 | 19,740,371 | 258,588 | 59,714 | 1,537 | 296,309 | - 2 (0.00%) |
| [2023-08-01 to 2023-08-31](/kusama/0-kusama/2023-08-31.md) | 19,036,089 | 19,481,781 | 431,300 | 95,249 | 1,760 | 295,295 | - 14,393 (3.23%) |
| [2023-10-01 to 2023-10-09](/kusama/0-kusama/2023-10-31.md) | 19,927,269 | 20,027,899 | 57,297 | 25,608 | 966 | 297,384 | - 43,334 (43.06%) |
| [2023-09-01 to 2023-09-30](/kusama/0-kusama/2023-09-30.md) | 19,481,782 | 19,898,498 | 416,714 | 91,012 | 1,443 | 296,935 | - **BROKEN** (0.00%) |
| [2023-08-01 to 2023-08-31](/kusama/0-kusama/2023-08-31.md) | 19,036,089 | 19,481,781 | 445,693 | 91,927 | 1,760 | 295,295 | - |
| [2023-07-01 to 2023-07-31](/kusama/0-kusama/2023-07-31.md) | 18,590,171 | 19,036,088 | 445,918 | 292,041 | 1,730 | 293,395 | - |
| [2023-06-01 to 2023-06-30](/kusama/0-kusama/2023-06-30.md) | 18,159,296 | 18,590,170 | 430,875 | 899,539 | 1,940 | 291,541 | - |
| [2023-05-01 to 2023-05-31](/kusama/0-kusama/2023-05-31.md) | 17,714,750 | 18,159,295 | 430,188 | 763,639 | 1,895 | 290,056 | - 14,358 (3.23%) |
Expand Down
Loading

0 comments on commit f86050c

Please sign in to comment.