Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,6 @@ sync_record
alembic.ini
!hemera_udf/hemera_ens/abi/*.json
!hemera_udf/cyber_id/abi/*.json

# DB
*.db
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@ init_db:
development:
@echo "Setting up development environment..."
@bash -c 'set -euo pipefail; \
PYTHON_CMD=$$(command -v python3 || command -v python); \
PYTHON_CMD=$$(command -v python3.10 || command -v python.10); \
if [ -z "$$PYTHON_CMD" ] || ! "$$PYTHON_CMD" --version 2>&1 | grep -q "Python 3"; then \
echo "Python 3 is not found. Please install Python 3 and try again."; \
exit 1; \
fi; \
python_version=$$($$PYTHON_CMD -c "import sys; print(\"{}.{}\".format(sys.version_info.major, sys.version_info.minor))"); \
if ! echo "$$python_version" | grep -qE "^3\.(8|9|10|11)"; then \
echo "Python version $$python_version is not supported. Please use Python 3.8, 3.9, 3.10, or 3.11."; \
if ! echo "$$python_version" | grep -qE "^3\.(10|11|12|13)"; then \
echo "Python version $$python_version is not supported. Please use Python 3.10, 3.11, 3.12 or 3.13."; \
exit 1; \
fi; \
echo "Using Python: $$($$PYTHON_CMD --version)"; \
Expand Down
8 changes: 8 additions & 0 deletions config/indexer-config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
chain_id: 1
uniswap_v3_job:
# empty means no filter. only work in price job
pool_address:
# works in price\token job
jobs:
- type: uniswapv3 # uniswapv3`
factory address: '0x1f98431c8ad98523631ae4a59f267346ea31f984'
position_token_address: '0xc36442b4a4522e871399cd717abdd847ab11fe88'
opensea_job:
seaport_1_6:
contract_address: "0x0000000000000068f116a894984e2db1123eb395"
Expand Down
4 changes: 4 additions & 0 deletions config/morphl2-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
chain_id: 1
morph_bridge_on_l1_job:
l1_message_queue_oracle_contract_address: "0x3931ade842f5bb8763164bdd81e5361dce6cc1ef"
l1_cross_domain_messenger_contract_address: "0xdc71366effa760804dcfc3edf87fa2a6f1623304"
7 changes: 0 additions & 7 deletions hemera/api/app/address/__init__.py

This file was deleted.

28 changes: 0 additions & 28 deletions hemera/api/app/address/features.py

This file was deleted.

43 changes: 0 additions & 43 deletions hemera/api/app/address/models.py

This file was deleted.

73 changes: 0 additions & 73 deletions hemera/api/app/address/routes.py

This file was deleted.

39 changes: 0 additions & 39 deletions hemera/api/app/api.py

This file was deleted.

49 changes: 0 additions & 49 deletions hemera/api/app/cache.py

This file was deleted.

Loading
Loading