eth-portfolio-temp 0.1.3.dev0__tar.gz → 0.1.5.dev0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of eth-portfolio-temp might be problematic. Click here for more details.
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/.github/workflows/black.yaml +3 -3
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/.github/workflows/compile.yaml +2 -2
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/.github/workflows/deploy_docs.yaml +6 -6
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/.github/workflows/mypy.yaml +1 -1
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/.github/workflows/release.yaml +12 -12
- eth_portfolio_temp-0.1.5.dev0/PKG-INFO +25 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/README.md +2 -2
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/protocols/lending/maker.py +6 -3
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio_scripts/docker/docker-compose.yaml +2 -2
- eth_portfolio_temp-0.1.5.dev0/eth_portfolio_temp.egg-info/PKG-INFO +25 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio_temp.egg-info/SOURCES.txt +1 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio_temp.egg-info/requires.txt +1 -1
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/pyproject.toml +1 -1
- eth_portfolio_temp-0.1.5.dev0/renovate.json +6 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/requirements.txt +1 -1
- eth_portfolio_temp-0.1.3.dev0/PKG-INFO +0 -8
- eth_portfolio_temp-0.1.3.dev0/eth_portfolio_temp.egg-info/PKG-INFO +0 -8
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/.env.sample +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/.gitignore +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/Makefile +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/brownie-config.yaml +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/docs/Makefile +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/docs/_build/html/_static/alabaster.css +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/docs/_build/html/_static/basic.css +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/docs/_build/html/_static/custom.css +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/docs/_build/html/_static/doctools.js +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/docs/_build/html/_static/documentation_options.js +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/docs/_build/html/_static/file.png +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/docs/_build/html/_static/language_data.js +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/docs/_build/html/_static/minus.png +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/docs/_build/html/_static/plus.png +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/docs/_build/html/_static/pygments.css +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/docs/_build/html/_static/searchtools.js +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/docs/_build/html/_static/sphinx_highlight.js +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/docs/caching.rst +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/docs/conf.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/docs/exporter.rst +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/docs/index.rst +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/docs/make.bat +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/docs/new-protocols.rst +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/__init__.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/_argspec.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/_cache.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/_config.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/_db/__init__.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/_db/decorators.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/_db/entities.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/_db/utils.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/_decimal.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/_decorators.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/_exceptions.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/_ledgers/__init__.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/_ledgers/address.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/_ledgers/portfolio.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/_loaders/__init__.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/_loaders/_nonce.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/_loaders/balances.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/_loaders/token_transfer.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/_loaders/transaction.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/_loaders/utils.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/_shitcoins.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/_stableish.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/_submodules.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/_utils.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/_ydb/__init__.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/_ydb/token_transfers.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/address.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/buckets.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/constants.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/portfolio.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/protocols/__init__.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/protocols/_base.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/protocols/convex.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/protocols/dsr.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/protocols/lending/README.md +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/protocols/lending/__init__.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/protocols/lending/_base.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/protocols/lending/compound.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/protocols/lending/liquity.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/protocols/lending/unit.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/protocols/liquity.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/py.typed +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/structs/__init__.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/structs/modified.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/structs/structs.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/typing/__init__.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/typing/balance/single.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio_scripts/__init__.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio_scripts/_args.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio_scripts/_logging.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio_scripts/_portfolio.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio_scripts/_utils.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio_scripts/balances.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio_scripts/docker/.grafana/dashboards/Portfolio/Balances.json +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio_scripts/docker/.grafana/dashboards/dashboards.yaml +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio_scripts/docker/.grafana/datasources/datasources.yml +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio_scripts/docker/__init__.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio_scripts/docker/check.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio_scripts/docker/docker_compose.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio_scripts/main.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio_scripts/py.typed +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio_scripts/victoria/__init__.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio_scripts/victoria/types.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio_temp.egg-info/dependency_links.txt +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio_temp.egg-info/entry_points.txt +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio_temp.egg-info/not-zip-safe +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio_temp.egg-info/top_level.txt +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/setup.cfg +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/setup.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/tests/_test_completeness.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/tests/conftest.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/tests/fixtures.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/tests/protocols/test_external.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/tests/scripts/test_utils.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/tests/test_portfolio.py +0 -0
- {eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/tests/test_typing.py +0 -0
{eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/.github/workflows/black.yaml
RENAMED
|
@@ -11,14 +11,14 @@ jobs:
|
|
|
11
11
|
|
|
12
12
|
steps:
|
|
13
13
|
- name: Checkout code
|
|
14
|
-
uses: actions/checkout@
|
|
14
|
+
uses: actions/checkout@v5
|
|
15
15
|
with:
|
|
16
16
|
ref: ${{ github.head_ref }} # Check out the PR branch
|
|
17
17
|
|
|
18
18
|
- name: Set up Python
|
|
19
|
-
uses: actions/setup-python@
|
|
19
|
+
uses: actions/setup-python@v5
|
|
20
20
|
with:
|
|
21
|
-
python-version: '3.
|
|
21
|
+
python-version: '3.13'
|
|
22
22
|
|
|
23
23
|
- name: Install Black
|
|
24
24
|
run: pip install black
|
{eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/.github/workflows/compile.yaml
RENAMED
|
@@ -14,7 +14,7 @@ jobs:
|
|
|
14
14
|
runs-on: ubuntu-latest
|
|
15
15
|
steps:
|
|
16
16
|
- name: Checkout code
|
|
17
|
-
uses: actions/checkout@
|
|
17
|
+
uses: actions/checkout@v5
|
|
18
18
|
with:
|
|
19
19
|
# Check out the PR branch
|
|
20
20
|
ref: ${{ github.head_ref }}
|
|
@@ -22,7 +22,7 @@ jobs:
|
|
|
22
22
|
- name: Set up Python 3.12
|
|
23
23
|
uses: actions/setup-python@v5
|
|
24
24
|
with:
|
|
25
|
-
python-version: "3.
|
|
25
|
+
python-version: "3.13"
|
|
26
26
|
|
|
27
27
|
- name: Install Requirements
|
|
28
28
|
run: pip install -r requirements.txt
|
{eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/.github/workflows/deploy_docs.yaml
RENAMED
|
@@ -16,12 +16,12 @@ jobs:
|
|
|
16
16
|
runs-on: ubuntu-latest
|
|
17
17
|
steps:
|
|
18
18
|
- name: Check out code
|
|
19
|
-
uses: actions/checkout@
|
|
19
|
+
uses: actions/checkout@v5
|
|
20
20
|
|
|
21
21
|
- name: Set up Python
|
|
22
|
-
uses: actions/setup-python@
|
|
22
|
+
uses: actions/setup-python@v5
|
|
23
23
|
with:
|
|
24
|
-
python-version: '3.
|
|
24
|
+
python-version: '3.12'
|
|
25
25
|
|
|
26
26
|
- name: Install dependencies
|
|
27
27
|
run: |
|
|
@@ -44,18 +44,18 @@ jobs:
|
|
|
44
44
|
BROWNIE_NETWORK_ID=mainnet ETHERSCAN_TOKEN=${{ secrets.ETHERSCAN_TOKEN }} make html
|
|
45
45
|
|
|
46
46
|
- name: Deploy to GitHub Pages
|
|
47
|
-
uses: peaceiris/actions-gh-pages@
|
|
47
|
+
uses: peaceiris/actions-gh-pages@v4
|
|
48
48
|
with:
|
|
49
49
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
50
50
|
publish_dir: ./docs/_build/html
|
|
51
51
|
|
|
52
52
|
- name: Checkout
|
|
53
|
-
uses: actions/checkout@
|
|
53
|
+
uses: actions/checkout@v5
|
|
54
54
|
with:
|
|
55
55
|
ref: gh-pages
|
|
56
56
|
|
|
57
57
|
- name: Setup Pages
|
|
58
|
-
uses: actions/configure-pages@
|
|
58
|
+
uses: actions/configure-pages@v5
|
|
59
59
|
|
|
60
60
|
- name: Upload artifact
|
|
61
61
|
uses: actions/upload-pages-artifact@v3
|
{eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/.github/workflows/release.yaml
RENAMED
|
@@ -70,16 +70,16 @@ jobs:
|
|
|
70
70
|
|
|
71
71
|
steps:
|
|
72
72
|
- name: Check out code
|
|
73
|
-
uses: actions/checkout@
|
|
73
|
+
uses: actions/checkout@v5
|
|
74
74
|
with:
|
|
75
75
|
fetch-depth: 0
|
|
76
76
|
fetch-tags: true
|
|
77
77
|
ref: refs/tags/${{ github.event.release.tag_name }}
|
|
78
78
|
|
|
79
79
|
- name: Set up Python
|
|
80
|
-
uses: actions/setup-python@
|
|
80
|
+
uses: actions/setup-python@v5
|
|
81
81
|
with:
|
|
82
|
-
python-version: "3.
|
|
82
|
+
python-version: "3.13"
|
|
83
83
|
|
|
84
84
|
- name: Install cibuildwheel
|
|
85
85
|
run: |
|
|
@@ -110,16 +110,16 @@ jobs:
|
|
|
110
110
|
runs-on: ubuntu-latest
|
|
111
111
|
steps:
|
|
112
112
|
- name: Check out code
|
|
113
|
-
uses: actions/checkout@
|
|
113
|
+
uses: actions/checkout@v5
|
|
114
114
|
with:
|
|
115
115
|
fetch-depth: 0
|
|
116
116
|
fetch-tags: true
|
|
117
117
|
ref: refs/tags/${{ github.event.release.tag_name }}
|
|
118
118
|
|
|
119
119
|
- name: Set up Python
|
|
120
|
-
uses: actions/setup-python@
|
|
120
|
+
uses: actions/setup-python@v5
|
|
121
121
|
with:
|
|
122
|
-
python-version: "3.
|
|
122
|
+
python-version: "3.13"
|
|
123
123
|
|
|
124
124
|
- name: Install dependencies
|
|
125
125
|
run: |
|
|
@@ -134,37 +134,37 @@ jobs:
|
|
|
134
134
|
# Download wheels built on each runner
|
|
135
135
|
# ----------------------------------------------------
|
|
136
136
|
- name: Download manylinux 64-bit wheels
|
|
137
|
-
uses: actions/download-artifact@
|
|
137
|
+
uses: actions/download-artifact@v5
|
|
138
138
|
with:
|
|
139
139
|
name: "wheels-ubuntu-latest-manylinux-x64"
|
|
140
140
|
path: wheelhouse/linux-many-x64
|
|
141
141
|
|
|
142
142
|
- name: Download manylinux 32-bit wheels
|
|
143
|
-
uses: actions/download-artifact@
|
|
143
|
+
uses: actions/download-artifact@v5
|
|
144
144
|
with:
|
|
145
145
|
name: "wheels-ubuntu-latest-manylinux-x86"
|
|
146
146
|
path: wheelhouse/linux-many-x86
|
|
147
147
|
|
|
148
148
|
- name: Download musllinux 64-bit wheels
|
|
149
|
-
uses: actions/download-artifact@
|
|
149
|
+
uses: actions/download-artifact@v5
|
|
150
150
|
with:
|
|
151
151
|
name: "wheels-ubuntu-latest-musllinux-x64"
|
|
152
152
|
path: wheelhouse/linux-musl-x64
|
|
153
153
|
|
|
154
154
|
- name: Download macOS wheels
|
|
155
|
-
uses: actions/download-artifact@
|
|
155
|
+
uses: actions/download-artifact@v5
|
|
156
156
|
with:
|
|
157
157
|
name: "wheels-macos-latest"
|
|
158
158
|
path: wheelhouse/macos
|
|
159
159
|
|
|
160
160
|
- name: Download Windows 64-bit wheels
|
|
161
|
-
uses: actions/download-artifact@
|
|
161
|
+
uses: actions/download-artifact@v5
|
|
162
162
|
with:
|
|
163
163
|
name: "wheels-windows-latest-x64"
|
|
164
164
|
path: wheelhouse/windows-x64
|
|
165
165
|
|
|
166
166
|
- name: Download Windows 32-bit wheels
|
|
167
|
-
uses: actions/download-artifact@
|
|
167
|
+
uses: actions/download-artifact@v5
|
|
168
168
|
with:
|
|
169
169
|
name: "wheels-windows-latest-x86"
|
|
170
170
|
path: wheelhouse/windows-x86
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: eth_portfolio_temp
|
|
3
|
+
Version: 0.1.5.dev0
|
|
4
|
+
Summary: eth-portfolio makes it easy to analyze your portfolio.
|
|
5
|
+
Home-page: https://github.com/BobTheBuidler/eth-portfolio
|
|
6
|
+
Author: BobTheBuidler
|
|
7
|
+
Author-email: bobthebuidlerdefi@gmail.com
|
|
8
|
+
Requires-Python: >=3.10,<3.13
|
|
9
|
+
Requires-Dist: checksum_dict>=2.1.7
|
|
10
|
+
Requires-Dist: dank_mids>=4.20.154
|
|
11
|
+
Requires-Dist: eth-brownie<1.23,>=1.21.0
|
|
12
|
+
Requires-Dist: eth_retry<1,>=0.3.4
|
|
13
|
+
Requires-Dist: evmspec>=0.4.1
|
|
14
|
+
Requires-Dist: ez-a-sync>=0.32.7
|
|
15
|
+
Requires-Dist: faster-eth-utils
|
|
16
|
+
Requires-Dist: numpy<2
|
|
17
|
+
Requires-Dist: pandas<3,>=1.4.3
|
|
18
|
+
Requires-Dist: typed-envs>=0.0.9
|
|
19
|
+
Requires-Dist: ypricemagic<5,>=4.6.27.dev0
|
|
20
|
+
Dynamic: author
|
|
21
|
+
Dynamic: author-email
|
|
22
|
+
Dynamic: home-page
|
|
23
|
+
Dynamic: requires-dist
|
|
24
|
+
Dynamic: requires-python
|
|
25
|
+
Dynamic: summary
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Use `eth-portfolio` to output information about your portfolio in a streamlined, speed-optimized way.
|
|
3
3
|
|
|
4
4
|
### Requirements
|
|
5
|
-
- Python 3.
|
|
6
|
-
- At least 16GB of RAM.
|
|
5
|
+
- Python 3.10 or higher.
|
|
6
|
+
- At least 16GB of RAM, 32GB for Base chain.
|
|
7
7
|
|
|
8
8
|
### Prerequisites
|
|
9
9
|
- First, you will need to bring your own archive node. This can be one you run yourself, or one from one of the common providers (Tenderly, Alchemy, QuickNode, etc.)
|
|
@@ -3,6 +3,7 @@ from typing import Final, List, Optional
|
|
|
3
3
|
|
|
4
4
|
from a_sync import igather
|
|
5
5
|
from async_lru import alru_cache
|
|
6
|
+
from brownie import ZERO_ADDRESS
|
|
6
7
|
from dank_mids.exceptions import Revert
|
|
7
8
|
from eth_typing import HexStr
|
|
8
9
|
from faster_eth_abi import encode
|
|
@@ -18,6 +19,8 @@ from eth_portfolio.typing import Balance, TokenBalances
|
|
|
18
19
|
|
|
19
20
|
yfi: Final = "0x0bc529c00C6401aEF6D220BE8C6Ea1667F6Ad93e"
|
|
20
21
|
dai: Contract
|
|
22
|
+
_1e18: Final = Decimal(10**18)
|
|
23
|
+
_1e45: Final = Decimal(10**45)
|
|
21
24
|
|
|
22
25
|
|
|
23
26
|
def encode_bytes(bytestring: str) -> bytes:
|
|
@@ -46,8 +49,8 @@ class Maker(LendingProtocolWithLockedCollateral):
|
|
|
46
49
|
|
|
47
50
|
balances: TokenBalances = TokenBalances(block=block)
|
|
48
51
|
for token, data in zip(gems, ink_data):
|
|
49
|
-
if ink := data.dict()["ink"]:
|
|
50
|
-
balance = ink /
|
|
52
|
+
if token != ZERO_ADDRESS and (ink := data.dict()["ink"]):
|
|
53
|
+
balance = ink / _1e18
|
|
51
54
|
value = round(balance * Decimal(await get_price(token, block, sync=False)), 18)
|
|
52
55
|
balances[token] = Balance(balance, value, token=token, block=block)
|
|
53
56
|
return balances
|
|
@@ -71,7 +74,7 @@ class Maker(LendingProtocolWithLockedCollateral):
|
|
|
71
74
|
for urns, ilk_info in data:
|
|
72
75
|
art = urns.dict()["art"]
|
|
73
76
|
rate = ilk_info.dict()["rate"]
|
|
74
|
-
debt = art * rate /
|
|
77
|
+
debt = art * rate / _1e45
|
|
75
78
|
balances[dai.address] += Balance(debt, debt, token=dai, block=block)
|
|
76
79
|
return balances
|
|
77
80
|
|
|
@@ -3,7 +3,7 @@ networks:
|
|
|
3
3
|
|
|
4
4
|
services:
|
|
5
5
|
grafana:
|
|
6
|
-
image: grafana/grafana:
|
|
6
|
+
image: grafana/grafana:12.1.1
|
|
7
7
|
ports:
|
|
8
8
|
- 127.0.0.1:${GRAFANA_PORT:-3000}:3000
|
|
9
9
|
environment:
|
|
@@ -47,7 +47,7 @@ services:
|
|
|
47
47
|
restart: always
|
|
48
48
|
|
|
49
49
|
victoria-metrics:
|
|
50
|
-
image: victoriametrics/victoria-metrics:v1.
|
|
50
|
+
image: victoriametrics/victoria-metrics:v1.124.0
|
|
51
51
|
volumes:
|
|
52
52
|
- ~/.eth-portfolio/data/victoria/:/victoria-metrics-data
|
|
53
53
|
command:
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: eth_portfolio_temp
|
|
3
|
+
Version: 0.1.5.dev0
|
|
4
|
+
Summary: eth-portfolio makes it easy to analyze your portfolio.
|
|
5
|
+
Home-page: https://github.com/BobTheBuidler/eth-portfolio
|
|
6
|
+
Author: BobTheBuidler
|
|
7
|
+
Author-email: bobthebuidlerdefi@gmail.com
|
|
8
|
+
Requires-Python: >=3.10,<3.13
|
|
9
|
+
Requires-Dist: checksum_dict>=2.1.7
|
|
10
|
+
Requires-Dist: dank_mids>=4.20.154
|
|
11
|
+
Requires-Dist: eth-brownie<1.23,>=1.21.0
|
|
12
|
+
Requires-Dist: eth_retry<1,>=0.3.4
|
|
13
|
+
Requires-Dist: evmspec>=0.4.1
|
|
14
|
+
Requires-Dist: ez-a-sync>=0.32.7
|
|
15
|
+
Requires-Dist: faster-eth-utils
|
|
16
|
+
Requires-Dist: numpy<2
|
|
17
|
+
Requires-Dist: pandas<3,>=1.4.3
|
|
18
|
+
Requires-Dist: typed-envs>=0.0.9
|
|
19
|
+
Requires-Dist: ypricemagic<5,>=4.6.27.dev0
|
|
20
|
+
Dynamic: author
|
|
21
|
+
Dynamic: author-email
|
|
22
|
+
Dynamic: home-page
|
|
23
|
+
Dynamic: requires-dist
|
|
24
|
+
Dynamic: requires-python
|
|
25
|
+
Dynamic: summary
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: eth_portfolio_temp
|
|
3
|
-
Version: 0.1.3.dev0
|
|
4
|
-
Summary: eth-portfolio makes it easy to analyze your portfolio.
|
|
5
|
-
Home-page: https://github.com/BobTheBuidler/eth-portfolio
|
|
6
|
-
Author: BobTheBuidler
|
|
7
|
-
Author-email: bobthebuidlerdefi@gmail.com
|
|
8
|
-
Requires-Python: >=3.10,<3.13
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: eth-portfolio-temp
|
|
3
|
-
Version: 0.1.3.dev0
|
|
4
|
-
Summary: eth-portfolio makes it easy to analyze your portfolio.
|
|
5
|
-
Home-page: https://github.com/BobTheBuidler/eth-portfolio
|
|
6
|
-
Author: BobTheBuidler
|
|
7
|
-
Author-email: bobthebuidlerdefi@gmail.com
|
|
8
|
-
Requires-Python: >=3.10,<3.13
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/docs/_build/html/_static/basic.css
RENAMED
|
File without changes
|
{eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/docs/_build/html/_static/custom.css
RENAMED
|
File without changes
|
{eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/docs/_build/html/_static/doctools.js
RENAMED
|
File without changes
|
|
File without changes
|
{eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/docs/_build/html/_static/file.png
RENAMED
|
File without changes
|
|
File without changes
|
{eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/docs/_build/html/_static/minus.png
RENAMED
|
File without changes
|
{eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/docs/_build/html/_static/plus.png
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/_db/__init__.py
RENAMED
|
File without changes
|
{eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/_db/decorators.py
RENAMED
|
File without changes
|
{eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/_db/entities.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/_decorators.py
RENAMED
|
File without changes
|
{eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/_exceptions.py
RENAMED
|
File without changes
|
{eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/_ledgers/__init__.py
RENAMED
|
File without changes
|
{eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/_ledgers/address.py
RENAMED
|
File without changes
|
{eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/_ledgers/portfolio.py
RENAMED
|
File without changes
|
{eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/_loaders/__init__.py
RENAMED
|
File without changes
|
{eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/_loaders/_nonce.py
RENAMED
|
File without changes
|
{eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/_loaders/balances.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/_loaders/utils.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/_submodules.py
RENAMED
|
File without changes
|
|
File without changes
|
{eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/_ydb/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/protocols/__init__.py
RENAMED
|
File without changes
|
{eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/protocols/_base.py
RENAMED
|
File without changes
|
{eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/protocols/convex.py
RENAMED
|
File without changes
|
{eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/protocols/dsr.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/protocols/liquity.py
RENAMED
|
File without changes
|
|
File without changes
|
{eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/structs/__init__.py
RENAMED
|
File without changes
|
{eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/structs/modified.py
RENAMED
|
File without changes
|
{eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/structs/structs.py
RENAMED
|
File without changes
|
{eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio/typing/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio_scripts/__init__.py
RENAMED
|
File without changes
|
{eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio_scripts/_args.py
RENAMED
|
File without changes
|
{eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio_scripts/_logging.py
RENAMED
|
File without changes
|
{eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio_scripts/_portfolio.py
RENAMED
|
File without changes
|
{eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio_scripts/_utils.py
RENAMED
|
File without changes
|
{eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio_scripts/balances.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio_scripts/main.py
RENAMED
|
File without changes
|
{eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/eth_portfolio_scripts/py.typed
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{eth_portfolio_temp-0.1.3.dev0 → eth_portfolio_temp-0.1.5.dev0}/tests/protocols/test_external.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|