defistream 1.0.2__py3-none-any.whl → 1.0.4__py3-none-any.whl
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.
- defistream/__init__.py +1 -1
- defistream/query.py +0 -8
- {defistream-1.0.2.dist-info → defistream-1.0.4.dist-info}/METADATA +2 -3
- {defistream-1.0.2.dist-info → defistream-1.0.4.dist-info}/RECORD +6 -6
- {defistream-1.0.2.dist-info → defistream-1.0.4.dist-info}/WHEEL +0 -0
- {defistream-1.0.2.dist-info → defistream-1.0.4.dist-info}/licenses/LICENSE +0 -0
defistream/__init__.py
CHANGED
defistream/query.py
CHANGED
|
@@ -107,10 +107,6 @@ class QueryBuilder:
|
|
|
107
107
|
"""Set token symbol or address (ERC20)."""
|
|
108
108
|
return self._copy_with(token=symbol)
|
|
109
109
|
|
|
110
|
-
def decimals(self, decimals: int) -> "QueryBuilder":
|
|
111
|
-
"""Set token decimals when using custom address (ERC20). Default: 18."""
|
|
112
|
-
return self._copy_with(decimals=decimals)
|
|
113
|
-
|
|
114
110
|
# AAVE specific
|
|
115
111
|
def eth_market_type(self, market_type: str) -> "QueryBuilder":
|
|
116
112
|
"""Set AAVE market type for ETH network: 'Core', 'Prime', or 'EtherFi'. Default: 'Core'."""
|
|
@@ -327,10 +323,6 @@ class AsyncQueryBuilder:
|
|
|
327
323
|
"""Set token symbol or address (ERC20)."""
|
|
328
324
|
return self._copy_with(token=symbol)
|
|
329
325
|
|
|
330
|
-
def decimals(self, decimals: int) -> "AsyncQueryBuilder":
|
|
331
|
-
"""Set token decimals when using custom address (ERC20). Default: 18."""
|
|
332
|
-
return self._copy_with(decimals=decimals)
|
|
333
|
-
|
|
334
326
|
# AAVE specific
|
|
335
327
|
def eth_market_type(self, market_type: str) -> "AsyncQueryBuilder":
|
|
336
328
|
"""Set AAVE market type for ETH network: 'Core', 'Prime', or 'EtherFi'. Default: 'Core'."""
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: defistream
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.4
|
|
4
4
|
Summary: Python client for the DeFiStream API
|
|
5
5
|
Project-URL: Homepage, https://defistream.dev
|
|
6
6
|
Project-URL: Documentation, https://docs.defistream.dev
|
|
@@ -413,8 +413,7 @@ print(f"Request cost: {client.last_response.request_cost}")
|
|
|
413
413
|
|
|
414
414
|
| Method | Protocols | Description |
|
|
415
415
|
|--------|-----------|-------------|
|
|
416
|
-
| `.token(symbol)` | ERC20 | Token symbol (USDT, USDC) or contract address |
|
|
417
|
-
| `.decimals(n)` | ERC20 | Token decimals when using custom address (default: 18) |
|
|
416
|
+
| `.token(symbol)` | ERC20 | Token symbol (USDT, USDC) or contract address (required) |
|
|
418
417
|
| `.sender(addr)` | ERC20, Native | Filter by sender address |
|
|
419
418
|
| `.receiver(addr)` | ERC20, Native | Filter by receiver address |
|
|
420
419
|
| `.min_amount(amt)` | ERC20, Native | Minimum transfer amount |
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
defistream/__init__.py,sha256=
|
|
1
|
+
defistream/__init__.py,sha256=Vme3GaE4v7qXQcFFbpFe3Soaq06a_4I1ognx8DhzN-U,1680
|
|
2
2
|
defistream/client.py,sha256=Ku8ouDbM6Mx4lVmqvBwNvNt-h2FkvqauPMSjKyPkjU4,12717
|
|
3
3
|
defistream/exceptions.py,sha256=_GxZQ18_YvXFtmNHeddWV8fHPIllHgFeP7fP0CmHF1k,1492
|
|
4
4
|
defistream/models.py,sha256=JiG4IUq19HIANz9MHQCkaE6onGNyNzXcbdJmosrHsw0,3812
|
|
5
5
|
defistream/protocols.py,sha256=5_bYd46lDy-mK6LZ8sTGW0Z2IVH4g0cQ5rBbbOXsw0U,15368
|
|
6
6
|
defistream/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
|
-
defistream/query.py,sha256=
|
|
8
|
-
defistream-1.0.
|
|
9
|
-
defistream-1.0.
|
|
10
|
-
defistream-1.0.
|
|
11
|
-
defistream-1.0.
|
|
7
|
+
defistream/query.py,sha256=sNn_0OzNDlsp4N74Grumsb08R5OFPPoppPok3vh8Y6Q,16775
|
|
8
|
+
defistream-1.0.4.dist-info/METADATA,sha256=YGb1XcogAIo9FkKyHYSkCoD0Po0exCuHrrz8i2M3J6w,10877
|
|
9
|
+
defistream-1.0.4.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
10
|
+
defistream-1.0.4.dist-info/licenses/LICENSE,sha256=72DWAof8dMePfFQmfaswClW5d-sE6k7p-7VpuSKLmU4,1067
|
|
11
|
+
defistream-1.0.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|