Skip to content

Commit

Permalink
Ghostnet L2 tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
igorsereda committed Aug 27, 2024
1 parent e04abea commit 39fca0a
Show file tree
Hide file tree
Showing 4 changed files with 750 additions and 678 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ARG VENV_PATH=/opt/venv
ARG APP_PATH=/opt/app
ARG APP_USER=dipdup

FROM python:${PYTHON_VERSION}-slim as builder-base
FROM python:${PYTHON_VERSION}-slim AS builder-base

ARG VENV_PATH
ARG POETRY_PATH
Expand Down Expand Up @@ -38,7 +38,7 @@ RUN apt-get update \
&& rm -rf `find /usr/local/lib $POETRY_PATH/venv/lib $VENV_PATH/lib -name __pycache__` \
&& rm -rf /var/lib/apt/lists/*

FROM builder-base as builder-production
FROM builder-base AS builder-production

COPY ["poetry.lock", "pyproject.toml", "./"]

Expand All @@ -49,7 +49,7 @@ RUN poetry install --only main --sync --no-root --no-interaction --no-ansi -vvv
&& rm -rf `find $VIRTUAL_ENV/lib -name __pycache__`


FROM python:${PYTHON_VERSION}-slim as runtime-base
FROM python:${PYTHON_VERSION}-slim AS runtime-base

ARG VENV_PATH
ENV PATH="$VENV_PATH/bin:$PATH"
Expand All @@ -60,7 +60,7 @@ WORKDIR $APP_PATH
ARG APP_USER
RUN useradd -ms /bin/bash $APP_USER

FROM runtime-base as runtime
FROM runtime-base AS runtime

RUN apt-get update \
&& apt-get install --no-install-recommends -y \
Expand Down
6 changes: 3 additions & 3 deletions bridge_indexer/dipdup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,15 @@ contracts:

l2_tzbtc_token:
kind: evm
address: 0x87dcbf128677ba36e79d47daf4eb4e51610e0150
address: 0x8e73ae3cf688fbd8368c99520d26f9ef1b4d3bca
typename: l2_token
l2_sirs_token:
kind: evm
address: 0xcb5d40c6b1bdf5cd51b3801351b0a68d101a561b
address: 0xbaa233e2f62f45e9d91dacd3d6c6a57bc2cbc575
typename: l2_token
l2_usdt_token:
kind: evm
address: 0x8554cd57c0c3e5ab9d1782c9063279fa9bfa4680
address: 0xf68997ecc03751cb99b5b36712b213f11342452b
typename: l2_token


Expand Down
Loading

0 comments on commit 39fca0a

Please sign in to comment.