Skip to content

Commit

Permalink
lint, changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
droserasprout committed Jan 12, 2025
1 parent b946db5 commit cb4886a
Show file tree
Hide file tree
Showing 18 changed files with 41 additions and 79 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The format is based on [Keep a Changelog], and this project adheres to [Semantic

Releases prior to 7.0 has been removed from this file to declutter search results; see the [archived copy](https://github.com/dipdup-io/dipdup/blob/8.0.0b5/CHANGELOG.md) for the full list.

## [8.2.0rc1] - 2024-12-23
## [8.2.0rc1] - 2025-01-14

### Added

Expand Down
56 changes: 36 additions & 20 deletions docs/7.references/2.config.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ mpmath==1.3.0
msgpack==1.1.0
multidict==6.1.0
mypy-extensions==1.0.0
orjson==3.10.12
orjson==3.10.14
packaging==24.2
parsimonious==0.10.0
pathspec==0.12.1
Expand All @@ -80,7 +80,7 @@ pyyaml==6.0.2
regex==2024.11.6
requests==2.32.3
rlp==4.0.1
ruamel-yaml==0.18.6
ruamel-yaml==0.18.10
ruamel-yaml-clib==0.2.12; platform_python_implementation == "CPython" and python_version < "3.13"
scalecodec==1.2.11
sentry-sdk==2.19.2
Expand Down
4 changes: 0 additions & 4 deletions src/demo_evm_events/types/eth_usdt/evm_events/transfer.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,10 @@
from __future__ import annotations

from pydantic import BaseModel
from pydantic import ConfigDict
from pydantic import Field


class TransferPayload(BaseModel):
model_config = ConfigDict(
extra='forbid',
)
from_: str = Field(..., alias='from')
to: str
value: int
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,8 @@
from __future__ import annotations

from pydantic import BaseModel
from pydantic import ConfigDict


class TransferInput(BaseModel):
model_config = ConfigDict(
extra='forbid',
)
to: str
value: int
4 changes: 0 additions & 4 deletions src/demo_evm_uniswap/types/factory/evm_events/pool_created.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,9 @@
from __future__ import annotations

from pydantic import BaseModel
from pydantic import ConfigDict


class PoolCreatedPayload(BaseModel):
model_config = ConfigDict(
extra='forbid',
)
token0: str
token1: str
fee: int
Expand Down
4 changes: 0 additions & 4 deletions src/demo_evm_uniswap/types/pool/evm_events/burn.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,9 @@
from __future__ import annotations

from pydantic import BaseModel
from pydantic import ConfigDict


class BurnPayload(BaseModel):
model_config = ConfigDict(
extra='forbid',
)
owner: str
tickLower: int
tickUpper: int
Expand Down
4 changes: 0 additions & 4 deletions src/demo_evm_uniswap/types/pool/evm_events/collect.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,9 @@
from __future__ import annotations

from pydantic import BaseModel
from pydantic import ConfigDict


class CollectPayload(BaseModel):
model_config = ConfigDict(
extra='forbid',
)
owner: str
recipient: str
tickLower: int
Expand Down
4 changes: 0 additions & 4 deletions src/demo_evm_uniswap/types/pool/evm_events/flash.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,9 @@
from __future__ import annotations

from pydantic import BaseModel
from pydantic import ConfigDict


class FlashPayload(BaseModel):
model_config = ConfigDict(
extra='forbid',
)
sender: str
recipient: str
amount0: int
Expand Down
4 changes: 0 additions & 4 deletions src/demo_evm_uniswap/types/pool/evm_events/initialize.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,8 @@
from __future__ import annotations

from pydantic import BaseModel
from pydantic import ConfigDict


class InitializePayload(BaseModel):
model_config = ConfigDict(
extra='forbid',
)
sqrtPriceX96: int
tick: int
4 changes: 0 additions & 4 deletions src/demo_evm_uniswap/types/pool/evm_events/mint.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,9 @@
from __future__ import annotations

from pydantic import BaseModel
from pydantic import ConfigDict


class MintPayload(BaseModel):
model_config = ConfigDict(
extra='forbid',
)
sender: str
owner: str
tickLower: int
Expand Down
4 changes: 0 additions & 4 deletions src/demo_evm_uniswap/types/pool/evm_events/swap.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,9 @@
from __future__ import annotations

from pydantic import BaseModel
from pydantic import ConfigDict


class SwapPayload(BaseModel):
model_config = ConfigDict(
extra='forbid',
)
sender: str
recipient: str
amount0: int
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,9 @@
from __future__ import annotations

from pydantic import BaseModel
from pydantic import ConfigDict


class CollectPayload(BaseModel):
model_config = ConfigDict(
extra='forbid',
)
tokenId: int
recipient: str
amount0: int
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,9 @@
from __future__ import annotations

from pydantic import BaseModel
from pydantic import ConfigDict


class DecreaseLiquidityPayload(BaseModel):
model_config = ConfigDict(
extra='forbid',
)
tokenId: int
liquidity: int
amount0: int
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,9 @@
from __future__ import annotations

from pydantic import BaseModel
from pydantic import ConfigDict


class IncreaseLiquidityPayload(BaseModel):
model_config = ConfigDict(
extra='forbid',
)
tokenId: int
liquidity: int
amount0: int
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,10 @@
from __future__ import annotations

from pydantic import BaseModel
from pydantic import ConfigDict
from pydantic import Field


class TransferPayload(BaseModel):
model_config = ConfigDict(
extra='forbid',
)
from_: str = Field(..., alias='from')
to: str
tokenId: int
3 changes: 1 addition & 2 deletions src/demo_substrate_events/abi/assethub/v601.json
Original file line number Diff line number Diff line change
Expand Up @@ -2474,8 +2474,7 @@
"Twox64Concat"
],
"key_vec": [
"[U8; 4]",
"Vec<U8>"
"Tuple:[U8; 4]Vec<U8>"
],
"value": "AccountId",
"keys_id": 178,
Expand Down
3 changes: 1 addition & 2 deletions src/demo_substrate_events/abi/assethub/v700.json
Original file line number Diff line number Diff line change
Expand Up @@ -2460,8 +2460,7 @@
"Twox64Concat"
],
"key_vec": [
"[U8; 4]",
"Vec<U8>"
"Tuple:[U8; 4]Vec<U8>"
],
"value": "AccountId",
"keys_id": 176,
Expand Down

0 comments on commit cb4886a

Please sign in to comment.