Skip to content

Commit 4c21a24

Browse files
committed
added support for ripple
added empty jsonl file for ripple fixed tab indent fixing indent fixing indent fixed indent removed comment removed comment
1 parent d854a8d commit 4c21a24

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

config.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ ledgers:
1919
- ethereum
2020
- litecoin
2121
- tezos
22+
- ripple
2223

2324
# Execution flags
2425
execution_flags:
@@ -67,6 +68,7 @@ plot_parameters:
6768
- ethereum
6869
- litecoin
6970
- tezos
71+
- ripple
7072
metrics:
7173
- hhi
7274
- shannon_entropy
@@ -96,3 +98,5 @@ plot_parameters:
9698
exclude_contract_addresses:
9799
- true
98100
- false
101+
102+

mapping_information/addresses/ripple.jsonl

Whitespace-only changes.

tokenomics_decentralization/analyze.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def get_entries(ledger, date, filename):
9797
next(csv_reader)
9898
clustered_balances = defaultdict(int)
9999
for line in csv_reader:
100-
address, balance = line[0], int(line[-1])
100+
address, balance = line[0], float(line[-1])
101101
if address in special_addresses:
102102
continue
103103
entity, is_contract = db_hlp.get_address_entity(conn, address)

0 commit comments

Comments
 (0)