Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
ee2b11d
ci: add GitHub Actions CI to master branch (#280)
ideal93 Dec 10, 2024
21bbf6a
Bugfix/cover collect empty list (#281)
xuzh2024 Dec 11, 2024
ba6b336
Refactor Package Directory(#282)
ideal93 Dec 12, 2024
cd65477
Adjust uniswapv2 (#286)
2024river Dec 12, 2024
98008a0
Add thena 1.0.0 (#288)
2024river Dec 13, 2024
1cefd9e
Add Base meme agent (#289)
zhufengthehemera Dec 13, 2024
e46ef04
Add gitignore more pattern (#292)
ideal93 Dec 13, 2024
1ea3e4a
Feature/dataclass from db (#290)
xuzh2024 Dec 13, 2024
77de80c
Support receipt_from_blocks_rpc (#295)
ideal93 Dec 17, 2024
c402c3a
add arbitrum config (#296)
2024river Dec 17, 2024
d440955
add bsc config (#297)
2024river Dec 17, 2024
4151264
Add bob fbtc job config (#298)
shanshuo0918 Dec 17, 2024
50de78a
Feature/command line in diffirent scenarios (#267)
xuzh2024 Dec 17, 2024
b8dd8b0
add teahouse (#293)
2024river Dec 19, 2024
8618566
fix export bug (#299)
xuzh2024 Dec 19, 2024
3dc5d78
proper prompt when job-scan fail (#300)
xuzh2024 Dec 19, 2024
74ae59d
Feature/read write separation from 1.0.0 (#294)
xuzh2024 Dec 20, 2024
585101c
Fixed the issue where the ‘in’ operator gets stuck when acting on Buf…
xuzh2024 Dec 23, 2024
e6030fa
Fixed the issue that Indexer gets stuck when deal with empty list (#307)
xuzh2024 Dec 24, 2024
6a10a69
Optimize/default config in diffirent scenario (#303)
xuzh2024 Dec 24, 2024
d027b91
Add mantle config 1.0.0 (#302)
2024river Dec 24, 2024
88516e7
add aave_v2 lending (#201)
will0x0909 Dec 31, 2024
68b26c3
Fix aave Format (#313)
ideal93 Dec 31, 2024
4cae50e
improve BufferService compatibility (#314)
xuzh2024 Dec 31, 2024
84fee2a
runnable api (#316)
will0x0909 Jan 2, 2025
9768fa6
Feature/update pg source support for all job (#315)
xuzh2024 Jan 6, 2025
54715f2
Migrate UDF api (#317)
will0x0909 Jan 6, 2025
9187aa9
Fix poetry version (#319)
ideal93 Jan 6, 2025
852ad3b
remove handle_success rewrite (#322)
xuzh2024 Jan 7, 2025
501c505
Fixed the issue of no data export when there is no block in the buff …
xuzh2024 Jan 7, 2025
7595f27
Run base (#320)
will0x0909 Jan 9, 2025
e982bc5
update (#324)
will0x0909 Jan 9, 2025
a67023b
alembic for v1.0.0 (#325)
xuzh2024 Jan 9, 2025
8b3ecc3
Update deprecation notice (#326)
xuzh2024 Jan 9, 2025
2ab0c45
Improve uniswap v3 v1.0.0 (#309)
2024river Jan 13, 2025
5d73edc
Feat/add kafka exporter (#329)
ideal93 Jan 13, 2025
9f9987d
Add Story Odyssey Testnet Config (#328)
will0x0909 Jan 13, 2025
810a4dd
Add Parser Contract From Transaction (#318)
ideal93 Jan 13, 2025
f5a59e3
Feature/add prometheus client (#310)
xuzh2024 Jan 13, 2025
33c8e00
new reorg version for v1.0.0 (#308)
xuzh2024 Jan 13, 2025
6cb4548
add block_timestamp as pk and improve v2 total supply (#331)
2024river Jan 14, 2025
42249be
add block_timestamp (#332)
2024river Jan 14, 2025
89f7bcb
Fix kafka mapping error
ideal93 Jan 14, 2025
946acf7
add empty-judgement (#334)
2024river Jan 15, 2025
68d4f6d
add UniswapV2PoolFromSwapEvent type to __init__ (#335)
2024river Jan 16, 2025
aeeebcd
fix get_missing_pools_by_rpc (#336)
2024river Jan 16, 2025
6bae24a
fix bug for stable_token_balance_limit (#337)
2024river Jan 20, 2025
1fe5121
fix(token_transfer): handle erc404 token transfer distinction (#338)
ideal93 Jan 23, 2025
d873318
Token holder metrics (#330)
zhufengthehemera Jan 23, 2025
da63515
Fix address token balance conflict and kafka output (#339)
ideal93 Jan 24, 2025
c971720
Fix/token symbol (#340)
ideal93 Jan 26, 2025
b72d10a
refresh metrics in time (#343)
xuzh2024 Feb 10, 2025
895beb3
fix token mark (#342)
will0x0909 Feb 10, 2025
7db05b2
Fix token symbol & Add DexBlockTokenPrice dependency(#344)
ideal93 Feb 10, 2025
b302dfe
Reduce muti_call error log (#345)
will0x0909 Feb 11, 2025
74f7e17
add uniswap v2 pools filter logic for NONE decode data (#346)
2024river Feb 11, 2025
a7fa062
refactor(web3): remove receipt log sync to Kafka
ideal93 Feb 11, 2025
15cd96c
export erc20 token transfer with price (#341)
zhufengthehemera Feb 20, 2025
ff119f1
monad config
will0x0909 Feb 27, 2025
cc4877a
Adjust wbnb filter logic (#355)
2024river Mar 7, 2025
9e405b3
improve sql for get_token_price (#356)
2024river Mar 14, 2025
7c5b826
Fix realized pnl (#351)
zhufengthehemera Mar 19, 2025
cb56ac9
Optimize metrics prices (#361)
zhufengthehemera Mar 28, 2025
3e89473
Feature/uniswap v4 (#358)
zhufengthehemera May 23, 2025
9554473
Feature/four meme (#362)
zhufengthehemera May 23, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 7 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Hemera Indexer Continuous Integration

on: [pull_request]
on:
push:
branches:
- master
pull_request:

jobs:
build:
Expand Down Expand Up @@ -38,7 +42,7 @@ jobs:
- name: Install dependencies
run: |
pip install --upgrade pip
pip install poetry
pip install poetry==1.6.1
poetry update
poetry install -v
poetry show
Expand All @@ -57,7 +61,7 @@ jobs:
- name: Pipeline Test with pytest
run: |
export PYTHONPATH=$(pwd)
poetry run pytest indexer --cov --cov-report=xml
poetry run pytest -vv -m indexer --cov --cov-report=xml

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/ut.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Python application unit test

on: [pull_request]
on:
push:
branches:
- master
pull_request:

jobs:
test:
Expand All @@ -17,7 +21,7 @@ jobs:
- name: Install dependencies
run: |
pip install --upgrade pip
pip install poetry
pip install poetry==1.6.1
poetry update
poetry install -v

Expand All @@ -37,4 +41,4 @@ jobs:
MANTLE_PUBLIC_NODE_DEBUG_RPC_URL: '${{ secrets.MANTLE_PUBLIC_NODE_DEBUG_RPC_URL }}'
run: |
export PYTHONPATH=$(pwd)
make test indexer
poetry run pytest -vv -m indexer
19 changes: 13 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ wheels/
.installed.cfg
*.egg

# JetBrains IDE
.idea/

# Installer logs
pip-log.txt
pip-delete-this-directory.txt
Expand All @@ -45,9 +42,19 @@ docker-compose/data/
docker-compose/output/
docker-compose/postgres/

# JetBrains IDE
.idea/
*.iml

# vim
*.swp

# OSX
.DS_Store

# Local Config
resource/hemera.ini
hemera/resource/hemera.ini
sync_record
alembic.ini
!indexer/modules/custom/hemera_ens/abi/*.json
!indexer/modules/custom/cyber_id/abi/*.json
!hemera_udf/hemera_ens/abi/*.json
!hemera_udf/cyber_id/abi/*.json
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ FROM python:3.9-slim

WORKDIR "/app"

COPY --from=builder /app/migrations ./migrations
COPY --from=builder /app/hemera/migrations ./migrations
COPY --from=builder /app/dist/*.whl .
RUN pip install *.whl

Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ endif

init_db:
@echo "Initializing database..."
poetry run python -m hemera.py db --init
poetry run hemera db --init-schema

development:
@echo "Setting up development environment..."
Expand Down Expand Up @@ -76,7 +76,7 @@ development:
fi; \
if ! poetry --version &> /dev/null; then \
echo "Installing Poetry..."; \
pip install poetry; \
pip install poetry==1.6.1; \
else \
echo "Poetry is already installed."; \
fi; \
Expand Down
36 changes: 0 additions & 36 deletions api/app/api.py

This file was deleted.

30 changes: 0 additions & 30 deletions cli/__init__.py

This file was deleted.

70 changes: 0 additions & 70 deletions cli/aggregates.py

This file was deleted.

11 changes: 0 additions & 11 deletions cli/api.py

This file was deleted.

106 changes: 0 additions & 106 deletions cli/db.py

This file was deleted.

Loading
Loading