From fd91569baa4087b02affd54815123e6d7d921a6a Mon Sep 17 00:00:00 2001 From: "M. Nihat Gurmen" Date: Sat, 19 Sep 2026 10:47:00 +0300 Subject: [PATCH 1/2] fix(swap): execute RFQ swaps on tx.to / order.maker, not the deployments address Mainnet firm quotes are signed by one of several maker contracts (legacy MainnetRFQ 1.2.8 plus DexalotRFQ 2.x instances, each with its own swap signer) behind DexalotRouter, and the deployments endpoint only lists the legacy MainnetRFQ and the router. Sending a quote from another maker to the legacy address reverts with RF-IS-01 (invalid order signature). execute_rfq_swap now: - targets the quote's tx.to (the router) or order.maker, never the deployments MainnetRFQ address; - takes the router from the deployments endpoint (DexalotRouter, loaded best-effort during initialize_client) with MainnetRFQ.trustedForwarder() as on-chain fallback, reads the allowed makers from DexalotRouter.getAllowedRFQs() (static-tier cache, failures degrade to deployment-only and are not cached), and refuses quotes whose maker or tx.to fall outside that set; - cross-checks tx.data / tx.value against the simpleSwap call the SDK encodes itself from an embedded ABI fragment; - pre-checks the ERC20 allowance on order.maker and fails with an actionable message; new approve_rfq_maker(quote) grants it; - appends [target=, maker=, quote_id=, nonce_and_meta=, expiry=] to swap errors and returns target/maker on success. Also keys MainnetRFQ/DexalotRouter deployments by the connected chain's chain_config name ("Fuji" on testnet) instead of always "Avalanche", so _get_rfq_contract resolves on Fuji. Dependencies: aiohttp>=3.14.3, cryptography>=50.0.0,<51, and transitive floors for msgpack, pip and pymdown-extensions so pip-audit passes. Bump version to 0.6.1. --- CLAUDE.md | 2 + README.md | 21 + VERSION | 2 +- docs/python-sdk-user-guide.md | 22 +- pyproject.toml | 13 +- src/dexalot_sdk/__init__.py | 2 +- src/dexalot_sdk/core/base.py | 46 ++- src/dexalot_sdk/core/swap.py | 649 +++++++++++++++++++++++++---- tests/unit/core/test_base.py | 67 +++ tests/unit/core/test_swap.py | 758 +++++++++++++++++++++++++++++++++- uv.lock | 369 +++++++++-------- 11 files changed, 1666 insertions(+), 285 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index fa7e3fc..2077d77 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -105,6 +105,8 @@ Unit tests in `tests/unit/` have no external dependencies. Integration tests in - **STOP/STOPLIMIT: reserved on-chain, unplaceable, but read-labelled**: the contract `Type1` enum is `{MARKET, LIMIT, STOP, STOPLIMIT}` (verified against `ITradePairs.sol`), but STOP/STOPLIMIT are unused — `NewOrder` has no trigger-price field and no pair enables them. So the write-side `OrderType` enum is `{MARKET, LIMIT}` (the SDK never originates a stop order) while the read map `ORDER_TYPE_NAMES` includes all four contract names so reads stay faithful. Genuinely-unknown integers still map to `"UNKNOWN()"`. - **`time_in_force` / `stp` default to today's behavior**: `add_order` (and per-order dicts in `add_limit_order_list` / `cancel_add_list`) accept optional `time_in_force` (default `GTC`) and `stp` (default `CANCEL_TAKER`), replacing the previously hardcoded `type2=0` / `stp=0`. `validate_order_combo` enforces only the one contract-faithful rule — **LIMIT requires a price** — verified against `TradePairs.sol`: the contract ignores `type2`/price for MARKET (no revert), and PO / per-pair-allowed-type / self-trade / FOK rules are enforced on-chain (`T-T2PO-01`, `T-POOA-01`, `T-IVOT-01`, `T-FOKF-01`, `T-STPR-01`). Do **not** re-add a MARKET-must-be-IOC/FOK check — it is stricter than the contract and rejected the default (GTC) MARKET order. `type2`/`stp` integer values are confirmed against the contract enums. - **MARKET BUY skips the pre-flight balance check**: without a price the quote-token notional is unknown, so `add_order` / `_build_order_tuple` / `_process_replacement` skip the balance check for a MARKET BUY and let the contract enforce it. MARKET SELL (base amount known) and all LIMIT paths keep the check. +- **RFQ swaps execute on `tx.to` / `order.maker`, never on the deployments `MainnetRFQ` address**: mainnet firm quotes are signed by one of several maker contracts (legacy MainnetRFQ 1.2.8 plus DexalotRFQ 2.x instances, each with its own `swapSigner` and EIP-712 domain) sitting behind `DexalotRouter` (`MainnetRFQ.trustedForwarder()`), whose fallback forwards `simpleSwap` calldata to `order.maker` with the sender appended. The deployments endpoint only lists the legacy address, so sending a quote there fails `RF-IS-01` whenever another maker won the quote. `execute_rfq_swap` resolves the target via `_resolve_rfq_execution_target`: `order.maker` must be in `router.getAllowedRFQs()` (discovered by `_get_rfq_targets`: router from the deployments endpoint's `DexalotRouter` entry, loaded best-effort by `_fetch_optional_contract_deployment`, else `MainnetRFQ.trustedForwarder()` on-chain; makers always on-chain since the API does not list them; cached in the static tier, lookup failures degrade to deployment-only and are not cached), `tx.to` must be the router or the maker, and `tx.data`/`tx.value` (when present) must equal the SDK's own encoding. The SDK always encodes `simpleSwap` itself from the embedded `_SIMPLE_SWAP_ABI`. `MainnetRFQ`/`DexalotRouter` deployments are keyed by the connected chain's `chain_config` name (`"Avalanche"` on mainnet, `"Fuji"` on testnet, via `_connected_chain_key`), which is what `_get_rfq_contract` looks up; before this, Fuji RFQ lookups always missed. +- **ERC20 RFQ sells need an allowance on `order.maker`**: the maker contract does `transferFrom(taker)` itself, so approving the router or the legacy address does nothing. `execute_rfq_swap` pre-checks `allowance(taker, maker)` and fails with an actionable message; `approve_rfq_maker(quote)` grants exactly `takerAmount` (or `amount_wei`) after validating the maker against the allow-list. Native sells carry the amount as `msg.value` and skip both. - **`replace_order` cannot change order type/TIF/stp**: `cancelReplaceOrder` carries only a new price and quantity, so the replacement inherits the original `type1`/`type2`/`stp`. To change those, cancel and re-place (e.g. `cancel_add_list`). The method intentionally exposes no `time_in_force`/`stp` params. --- diff --git a/README.md b/README.md index 1215938..c69e07a 100644 --- a/README.md +++ b/README.md @@ -1013,6 +1013,27 @@ Enum-style fields are normalized to human-readable strings such as `BUY`, `SELL` **Swap Operations:** - `execute_rfq_swap(quote, wait_for_receipt=True)` +- `approve_rfq_maker(quote, amount_wei=None, wait_for_receipt=True)` + +**RFQ execution target.** Firm quotes are served by several maker contracts +(the legacy `MainnetRFQ` plus `DexalotRFQ` instances) behind the +`DexalotRouter`, and each maker verifies its own signer. `execute_rfq_swap` +therefore sends `simpleSwap` to the quote's `tx.to` (the router) or, when the +quote carries no `tx`, to `order.maker` directly. It never uses the +`MainnetRFQ` address from the deployments endpoint as the target. The router +address comes from the deployments endpoint (`DexalotRouter`), falling back to +`MainnetRFQ.trustedForwarder()` on-chain; the makers come from the router's +`getAllowedRFQs()`. Before +broadcasting it checks that `order.maker` is on that +allow-list, that `tx.to` is the router or the maker, and that any `tx.data` / +`tx.value` in the quote match the call the SDK encodes itself. Errors carry a +`[target=..., maker=..., quote_id=..., nonce_and_meta=..., expiry=...]` suffix. + +**ERC20 sells need a per-maker allowance.** The maker contract pulls the taker +asset with `transferFrom`, so the allowance must be granted to `order.maker`, +not to the router and not to the legacy address. `execute_rfq_swap` fails fast +with an actionable message when the allowance is short; call +`approve_rfq_maker(quote)` first. Native-asset sells (AVAX) need no approval. ### Example: Batch Order Placement diff --git a/VERSION b/VERSION index a918a2a..ee6cdce 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.6.0 +0.6.1 diff --git a/docs/python-sdk-user-guide.md b/docs/python-sdk-user-guide.md index 9b3c8fe..0a60563 100644 --- a/docs/python-sdk-user-guide.md +++ b/docs/python-sdk-user-guide.md @@ -350,12 +350,32 @@ if result.success: print("Firm quote ID:", quote["quote_id"]) ``` +### Approve the maker (ERC20 sells only) + +Firm quotes come from several maker contracts behind the Dexalot router, and +each maker pulls the taker asset itself. Grant the allowance to the quote's +`order.maker` (the SDK validates the maker against the router's on-chain +allow-list before approving). Native-asset sells skip this step. + +```python +result = await client.approve_rfq_maker(quote) +if result.success and result.data["approved"]: + print("Approval tx:", result.data["tx_hash"]) +``` + ### Execute swap +`execute_rfq_swap` targets the quote's `tx.to` (the router) or `order.maker`, +never the legacy `MainnetRFQ` deployment address, and refuses quotes whose +maker or `tx` envelope fail validation. Errors include a +`[target=..., maker=..., quote_id=...]` trail for diagnosis. + ```python result = await client.execute_rfq_swap(quote) if result.success: - print("Swap tx:", result.data) + print("Swap tx:", result.data["tx_hash"], "via", result.data["target"]) +else: + print("Swap failed:", result.error) ``` --- diff --git a/pyproject.toml b/pyproject.toml index 3cc031b..7aaa5ab 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ license = "MIT" license-files = [ "LICENSE.txt" ] -version = "0.6.0" +version = "0.6.1" description = "Dexalot Python SDK - Core library for Dexalot interaction" readme = "README.md" requires-python = ">=3.12,<3.15" @@ -29,11 +29,11 @@ classifiers = [ ] dependencies = [ "web3>=6.0.0,<8", - "aiohttp>=3.14.1,<4", + "aiohttp>=3.14.3,<4", "python-dotenv>=1.0,<2", "eth-account>=0.11,<1", "websockets>=13.0,<15", - "cryptography>=48.0.1,<49", + "cryptography>=50.0.0,<51", # Pin transitive deps to versions free of known CVEs (pip-audit gate). # - idna>=3.15 closes CVE-2026-45409 # - urllib3>=2.7.0 closes PYSEC-2026-141 and PYSEC-2026-142 @@ -60,6 +60,9 @@ dev = [ docs = [ "mkdocstrings[python]>=0.29", "zensical>=0.0.29", + # Transitive floor: pymdown-extensions<11.0.1 is flagged by pip-audit + # (PYSEC-2026-3609, PYSEC-2026-3654). + "pymdown-extensions>=11.0.1", ] # Security audit tooling — kept out of `dev` so a normal contributor install @@ -67,6 +70,10 @@ docs = [ security = [ "bandit[toml]", "pip-audit", + # Transitive floors for pip-audit's own dependency tree, flagged by the + # pip-audit gate: msgpack (PYSEC-2026-3625) and pip (PYSEC-2026-3721). + "msgpack>=1.2.1", + "pip>=26.2", ] [project.scripts] diff --git a/src/dexalot_sdk/__init__.py b/src/dexalot_sdk/__init__.py index dbdb837..03e4809 100644 --- a/src/dexalot_sdk/__init__.py +++ b/src/dexalot_sdk/__init__.py @@ -12,7 +12,7 @@ secrets_vault_set, ) -__version__ = "0.6.0" +__version__ = "0.6.1" def get_version() -> str: diff --git a/src/dexalot_sdk/core/base.py b/src/dexalot_sdk/core/base.py index 3ba8e69..d10087d 100644 --- a/src/dexalot_sdk/core/base.py +++ b/src/dexalot_sdk/core/base.py @@ -278,6 +278,7 @@ def _initialize_data_structures(self): "PortfolioMain": {}, "PortfolioSub": {}, "MainnetRFQ": {}, + "DexalotRouter": {}, } self.pairs: dict[str, Any] = {} self.token_data: dict[str, Any] = {} @@ -1396,8 +1397,23 @@ async def _fetch_deployments(self): self._fetch_contract_deployment(deploy_url, "TradePairs"), self._fetch_contract_deployment(deploy_url, "Portfolio"), self._fetch_contract_deployment(deploy_url, "MainnetRFQ"), + # The RFQ router is newer than the other contract types; a backend + # that does not publish it must not break initialization (the swap + # path falls back to MainnetRFQ.trustedForwarder() on-chain). + self._fetch_optional_contract_deployment(deploy_url, "DexalotRouter"), ) + async def _fetch_optional_contract_deployment(self, deploy_url, contract_type): + """Best-effort ``_fetch_contract_deployment``: log and continue on failure.""" + try: + await self._fetch_contract_deployment(deploy_url, contract_type) + except Exception as exc: + self.logger.warning( + "Deployment lookup for %s failed (%s); continuing without it", + contract_type, + exc, + ) + async def _fetch_clob_pairs(self): """Fetch CLOB pairs if get_clob_pairs method is available. @@ -1495,9 +1511,33 @@ def _process_deployment_item(self, item: dict[str, Any], contract_type: str) -> address=address, abi=abi ) - elif contract_type == "MainnetRFQ": - if env in [self.ENV_PROD_MULTI_AVAX, self.ENV_FUJI_MULTI_AVAX]: - self.deployments["MainnetRFQ"]["Avalanche"] = {"address": address, "abi": abi} + elif contract_type in ("MainnetRFQ", "DexalotRouter"): + self._store_connected_chain_deployment(contract_type, env, address, abi) + + def _connected_chain_key(self, env: str | None) -> str: + """Deployment-map key for a connected-chain env. + + ``chain_config`` names the chain (``"Avalanche"`` on mainnet, + ``"Fuji"`` on testnet) and ``_get_rfq_contract`` looks deployments up + by that name, so store them under it. Falls back to ``"Avalanche"`` + when the environments have not been loaded. + """ + chain_id = ( + self.CHAIN_ID_AVAX_MAINNET if env == self.ENV_PROD_MULTI_AVAX else self.CHAIN_ID_AVAX_FUJI + ) + for name, cfg in (self.chain_config or {}).items(): + if cfg.get("chain_id") == chain_id: + return name + return "Avalanche" + + def _store_connected_chain_deployment( + self, contract_type: str, env: str | None, address: Any, abi: Any + ) -> None: + """Record a connected-chain (AVAX env) deployment keyed by chain name.""" + if env not in (self.ENV_PROD_MULTI_AVAX, self.ENV_FUJI_MULTI_AVAX): + return + key = self._connected_chain_key(env) + self.deployments.setdefault(contract_type, {})[key] = {"address": address, "abi": abi} def _transform_deployment_from_api(self, item: dict) -> dict: """Transform API deployment response to match standardized field names. diff --git a/src/dexalot_sdk/core/swap.py b/src/dexalot_sdk/core/swap.py index aebe9d4..eae3d73 100644 --- a/src/dexalot_sdk/core/swap.py +++ b/src/dexalot_sdk/core/swap.py @@ -1,3 +1,4 @@ +from collections.abc import Awaitable, Callable from typing import Any, cast from web3 import Web3 @@ -15,13 +16,92 @@ ) from ..utils.observability import track_method from ..utils.result import Result -from .base import _SEMI_STATIC_CACHE, DexalotBaseClient +from .base import _SEMI_STATIC_CACHE, _STATIC_CACHE, DexalotBaseClient # MainnetRFQ uses the zero address to mean "the chain's native coin" (e.g. AVAX # on 43114). When the taker is selling native, ``msg.value`` must equal # ``takerAmount``; for ERC20 takers it must be 0. NATIVE_ZERO_ADDRESS = "0x" + "0" * 40 +# Gas headroom applied on top of ``estimate_gas`` for swap and approval txs. +SWAP_GAS_BUFFER = 1.2 + +# The RFQ API serves firm quotes from several maker contracts (the legacy +# MainnetRFQ plus DexalotRFQ instances), all reachable through DexalotRouter, +# which ``MainnetRFQ.trustedForwarder()`` points at. Each maker has its own +# EIP-712 domain and swap signer, so a quote is only valid on ``order.maker`` +# (called directly, or via the router which forwards the call to it). The +# deployments endpoint publishes the legacy MainnetRFQ and the DexalotRouter +# but not the individual makers, so the allow-list is read on-chain with these +# ABI fragments (and the router too, when the backend does not publish it). +_RFQ_TRUSTED_FORWARDER_ABI: list[dict[str, Any]] = [ + { + "name": "trustedForwarder", + "type": "function", + "stateMutability": "view", + "inputs": [], + "outputs": [{"name": "", "type": "address"}], + } +] +_ROUTER_ALLOWED_RFQS_ABI: list[dict[str, Any]] = [ + { + "name": "getAllowedRFQs", + "type": "function", + "stateMutability": "view", + "inputs": [], + "outputs": [{"name": "", "type": "address[]"}], + } +] +# simpleSwap((uint256,uint128,address,address,address,address,uint256,uint256),bytes) +# is shared by MainnetRFQ, DexalotRFQ and the router's forwarding fallback. +_SIMPLE_SWAP_ABI: list[dict[str, Any]] = [ + { + "name": "simpleSwap", + "type": "function", + "stateMutability": "payable", + "inputs": [ + { + "name": "_order", + "type": "tuple", + "components": [ + {"name": "nonceAndMeta", "type": "uint256"}, + {"name": "expiry", "type": "uint128"}, + {"name": "makerAsset", "type": "address"}, + {"name": "takerAsset", "type": "address"}, + {"name": "maker", "type": "address"}, + {"name": "taker", "type": "address"}, + {"name": "makerAmount", "type": "uint256"}, + {"name": "takerAmount", "type": "uint256"}, + ], + }, + {"name": "_signature", "type": "bytes"}, + ], + "outputs": [], + } +] +_ERC20_ALLOWANCE_ABI: list[dict[str, Any]] = [ + { + "name": "allowance", + "type": "function", + "stateMutability": "view", + "inputs": [ + {"name": "_owner", "type": "address"}, + {"name": "_spender", "type": "address"}, + ], + "outputs": [{"name": "", "type": "uint256"}], + }, + { + "name": "approve", + "type": "function", + "stateMutability": "nonpayable", + "inputs": [ + {"name": "_spender", "type": "address"}, + {"name": "_value", "type": "uint256"}, + ], + "outputs": [{"name": "", "type": "bool"}], + }, +] + class SwapClient(DexalotBaseClient): async def _get_w3_l1(self): @@ -443,8 +523,18 @@ async def get_swap_soft_quote( async def execute_rfq_swap(self, quote: dict, wait_for_receipt: bool = True) -> Result[dict]: """Execute a SimpleSwap using a firm quote from ``get_swap_firm_quote()``. - Signs the quote with the current account's private key and submits the - transaction to the ``MainnetRFQ`` contract. + Signs and submits ``simpleSwap(order, signature)`` to the contract the + quote is valid on: the quote's ``tx.to`` (the DexalotRouter, which + forwards to the maker) when present, otherwise ``order.maker`` + directly. The legacy ``MainnetRFQ`` address from the deployments + endpoint is never used as the execution target because firm quotes are + served by several maker contracts, each with its own signer. + + Before broadcasting, the SDK checks on-chain that ``order.maker`` is a + maker the router allows, that ``tx.to`` is the router or the maker, + that any ``tx.data``/``tx.value`` the API returned match the call the + SDK encodes itself, and, for ERC20 sells, that the maker already holds a + sufficient allowance (see ``approve_rfq_maker``). Args: quote: Firm quote dict as returned by ``get_swap_firm_quote()``. @@ -454,8 +544,10 @@ async def execute_rfq_swap(self, quote: dict, wait_for_receipt: bool = True) -> confirmed on-chain. Returns: - Result containing a confirmation message with the transaction hash on - success, or an error message on failure. + Result with ``tx_hash``, ``target`` (contract called) and ``maker`` + on success, or an error message on failure. Errors carry a + ``[target=..., maker=..., quote_id=..., ...]`` suffix so failures + can be traced back to the quote. Raises: ValueError: If no signer account is configured. @@ -488,85 +580,455 @@ async def execute_rfq_swap(self, quote: dict, wait_for_receipt: bool = True) -> if not signature or not order_data: return Result.fail("Invalid firm quote: missing 'signature' or 'order' field.") - # Resolve contract and w3 for the connected chain carried in the quote. + # Resolve w3 and the deployments (legacy) contract for the connected + # chain carried in the quote. The contract is only used as the anchor + # for on-chain target discovery, never as the execution target. w3, contract = await self._get_rfq_contract(quote.get("chain_id")) if not w3 or not contract: return Result.fail("RFQ Contract not found or W3 not initialized.") + target_res = await self._resolve_rfq_execution_target(w3, contract, quote, order_data) + if not target_res.success or target_res.data is None: + return Result.fail(target_res.error or "Could not resolve RFQ execution target.") + target = target_res.data + maker = Web3.to_checksum_address(order_data["maker"]) + context = self._rfq_error_context(quote, order_data, target) + try: - # Construct Order tuple order_tuple = self._construct_rfq_order(order_data) # MainnetRFQ requires msg.value == takerAmount for native sells # (takerAsset == zero address), 0 otherwise. msg_value = self._compute_msg_value(order_data) + signature_bytes = self._signature_to_bytes(signature) - # Convert signature to bytes - if isinstance(signature, str): - if signature.startswith("0x"): - signature_bytes = bytes.fromhex(signature[2:]) - else: - signature_bytes = bytes.fromhex(signature) - else: - signature_bytes = signature - - nonce = await self._get_nonce(w3) + target_contract = w3.eth.contract(address=target, abi=_SIMPLE_SWAP_ABI) + fn_call = target_contract.functions.simpleSwap(order_tuple, signature_bytes) - # Estimate gas - gas_estimate = await self._estimate_swap_gas( - contract, order_tuple, signature_bytes, msg_value=msg_value + envelope_error = self._check_tx_envelope( + quote, target_contract, order_tuple, signature_bytes, msg_value ) + if envelope_error: + return Result.fail(f"{envelope_error} [{context}]") + + # ERC20 sells: the maker contract pulls funds with transferFrom, so + # the allowance must be granted to order.maker (not the router and + # not the legacy MainnetRFQ). Fail here with a clear message + # instead of letting the contract revert. + taker_asset = str(order_tuple[3]) + if taker_asset.lower() != NATIVE_ZERO_ADDRESS: + needed = int(order_tuple[7]) + allowance = await self._get_erc20_allowance(w3, taker_asset, from_addr, maker) + if allowance < needed: + return Result.fail( + f"Insufficient allowance: RFQ maker {maker} may spend {allowance} of " + f"{taker_asset}, swap needs {needed}. Call approve_rfq_maker(quote) first " + f"(approvals are per maker contract) [{context}]" + ) - gas_price = await self._rpc_call(w3, "eth.gas_price") + tx_hex, tx, receipt = await self._send_swap_tx( + w3, fn_call, value=msg_value, wait_for_receipt=wait_for_receipt + ) + if wait_for_receipt: + failure = await self._describe_receipt_failure(w3, tx, receipt, tx_hex) + if failure: + return Result.fail(f"{failure} [{context}]") - tx = await contract.functions.simpleSwap( - order_tuple, signature_bytes - ).build_transaction( + return Result.ok( { - "from": from_addr, - "nonce": nonce, - "gas": int(gas_estimate * 1.2), - "gasPrice": gas_price, - "value": msg_value, + "tx_hash": tx_hex, + "operation": "execute_rfq_swap", + "target": target, + "maker": maker, } ) - # Use Account instance method - never expose private key - signed_tx = self.account.sign_transaction(tx) - tx_hash = await self._rpc_call( - w3, "eth.send_raw_transaction", signed_tx.raw_transaction + except Exception as e: + error_msg = self._sanitize_error(e, "executing swap") + return Result.fail(f"{error_msg} [{context}]") + + @track_method("swap") + async def approve_rfq_maker( + self, quote: dict, amount_wei: int | None = None, wait_for_receipt: bool = True + ) -> Result[dict]: + """Grant the quote's maker contract an ERC20 allowance for the taker asset. + + Firm quotes are served by several maker contracts and each one pulls + the taker asset with ``transferFrom`` itself, so the allowance has to + be granted to ``order.maker`` — approving the router or the legacy + ``MainnetRFQ`` address does nothing for a quote from another maker. + Call this before ``execute_rfq_swap`` when selling an ERC20 token. + + The maker is validated against the router's on-chain allow-list before + any approval is sent. Native-asset sells need no allowance and are + rejected. + + Args: + quote: Firm quote dict (or ``Result[dict]``) from + ``get_swap_firm_quote()``. + amount_wei: Allowance to grant, in the token's base units. + Defaults to the quote's ``takerAmount``. + wait_for_receipt: If ``True``, block until the approval is mined. + + Returns: + ``Result.ok`` with ``approved=False`` and the current ``allowance`` + when nothing had to be sent, or ``approved=True`` with the approval + ``tx_hash`` otherwise. + + Raises: + ValueError: If no signer account is configured. + """ + if not self.account: + raise ValueError( + "Account is required for signing transactions. Set signer or PRIVATE_KEY." ) + from_addr = cast(str, cast(Any, self.account).address) - tx_hex = w3.to_hex(tx_hash) + if isinstance(quote, Result): + if not quote.success: + return Result.fail(f"Cannot approve failed quote: {quote.error}") + if quote.data is None: + return Result.fail("Invalid quote: empty data") + quote = quote.data - if wait_for_receipt: - receipt = await self._rpc_call(w3, "eth.wait_for_transaction_receipt", tx_hash) - receipt_status = ( - receipt.status - if hasattr(receipt, "status") - else receipt.get("status", 1) - if receipt - else 1 + quote_typed: dict[Any, Any] = self._transform_quote_from_api(quote) + quote = quote_typed + order_data = quote.get("order") + if not order_data: + return Result.fail("Invalid firm quote: missing 'order' field.") + + w3, contract = await self._get_rfq_contract(quote.get("chain_id")) + if not w3 or not contract: + return Result.fail("RFQ Contract not found or W3 not initialized.") + + taker_asset = str(order_data.get("taker_asset") or order_data.get("takerAsset") or "") + if not taker_asset: + return Result.fail("Invalid firm quote: missing 'order.takerAsset' field.") + if taker_asset.lower() == NATIVE_ZERO_ADDRESS: + return Result.fail( + "Native taker asset does not need an allowance; " + "execute_rfq_swap sends it as msg.value." + ) + + target_res = await self._resolve_rfq_execution_target(w3, contract, quote, order_data) + if not target_res.success or target_res.data is None: + return Result.fail(target_res.error or "Could not resolve RFQ execution target.") + maker = Web3.to_checksum_address(order_data["maker"]) + token = Web3.to_checksum_address(taker_asset) + needed = ( + amount_wei + if amount_wei is not None + else self._to_int(order_data.get("taker_amount") or order_data.get("takerAmount")) + ) + if needed <= 0: + return Result.fail("Approval amount must be positive.") + context = self._rfq_error_context(quote, order_data, maker) + + try: + allowance = await self._get_erc20_allowance(w3, token, from_addr, maker) + if allowance >= needed: + return Result.ok( + { + "approved": False, + "allowance": allowance, + "spender": maker, + "token": token, + "operation": "approve_rfq_maker", + } ) - if receipt_status != 1: - revert_reason = await self._extract_revert_reason(w3, tx, receipt) - block_number = ( - receipt.get("blockNumber") - if isinstance(receipt, dict) - else getattr(receipt, "blockNumber", None) - ) - detail_parts = [f"tx={tx_hex}"] - if block_number is not None: - detail_parts.append(f"block={block_number}") - if revert_reason: - detail_parts.append(f"reason={revert_reason}") - return Result.fail(f"Transaction reverted: {', '.join(detail_parts)}") - return Result.ok({"tx_hash": tx_hex, "operation": "execute_rfq_swap"}) - return Result.ok({"tx_hash": tx_hex, "operation": "execute_rfq_swap"}) + token_contract = w3.eth.contract(address=token, abi=_ERC20_ALLOWANCE_ABI) + fn_call = token_contract.functions.approve(maker, needed) + tx_hex, tx, receipt = await self._send_swap_tx( + w3, fn_call, value=0, wait_for_receipt=wait_for_receipt + ) + if wait_for_receipt: + failure = await self._describe_receipt_failure(w3, tx, receipt, tx_hex) + if failure: + return Result.fail(f"{failure} [{context}]") + return Result.ok( + { + "approved": True, + "tx_hash": tx_hex, + "amount": needed, + "spender": maker, + "token": token, + "operation": "approve_rfq_maker", + } + ) except Exception as e: - error_msg = self._sanitize_error(e, "executing swap") - return Result.fail(error_msg) + error_msg = self._sanitize_error(e, "approving RFQ maker") + return Result.fail(f"{error_msg} [{context}]") + + # ------------------------------------------------------------------ + # RFQ execution-target discovery and validation + # ------------------------------------------------------------------ + + async def _call_with_rpc_policy(self, fn: Callable[[], Awaitable[Any]]) -> Any: + """Run an awaitable RPC-backed call under the rate limiter and retry policy.""" + if self._rpc_rate_limiter: + await self._rpc_rate_limiter.acquire() + + if self.config.retry_enabled: + from ..utils.retry import async_retry + + retry_func = async_retry( + max_attempts=self.config.retry_max_attempts, + initial_delay=self.config.retry_initial_delay, + max_delay=self.config.retry_max_delay, + exponential_base=self.config.retry_exponential_base, + retry_on_status=self.config.retry_on_status, + retry_on_exceptions=self.config.retry_on_exceptions, + )(fn) + return await retry_func() + return await fn() + + async def _get_rfq_targets( + self, w3: Any, deployment_contract: Any, chain_id: int | None = None + ) -> tuple[str | None, frozenset[str]]: + """Discover the RFQ router and the maker contracts it forwards to. + + The router address comes from the deployments endpoint + (``DexalotRouter`` for the chain) when the backend publishes it, and + otherwise from ``trustedForwarder()`` on the deployments (legacy + MainnetRFQ) contract. The allowed makers always come from + ``getAllowedRFQs()`` on that router — the API does not list them and + the router's own allow-list is what it enforces. Returns + ``(router_address, allowed_makers)`` with lowercase maker addresses; + the deployments address is always part of the allowed set. + + The result is cached in the static tier (1h) per API base URL and + deployment address. Lookup failures are *not* cached and degrade to + ``(None, {deployment address})`` — the legacy behaviour — so a quote + from another maker is refused rather than sent to the wrong contract. + """ + deployment_addr = str(deployment_contract.address) + cache_key = ("rfq_targets", self.api_base_url, deployment_addr.lower()) + if self._cache_enabled: + cached = _STATIC_CACHE.get(cache_key) + if cached is not None: + return cast(tuple[str | None, frozenset[str]], cached) + + router: str | None = None + allowed: set[str] = {deployment_addr.lower()} + try: + router_addr = self._router_address_from_deployments(chain_id) + if router_addr is None: + forwarder_contract = w3.eth.contract( + address=Web3.to_checksum_address(deployment_addr), + abi=_RFQ_TRUSTED_FORWARDER_ABI, + ) + forwarder = await self._call_with_rpc_policy( + lambda: forwarder_contract.functions.trustedForwarder().call() + ) + if forwarder and str(forwarder).lower() != NATIVE_ZERO_ADDRESS: + router_addr = Web3.to_checksum_address(forwarder) + if router_addr is not None: + router_contract = w3.eth.contract(address=router_addr, abi=_ROUTER_ALLOWED_RFQS_ABI) + makers = await self._call_with_rpc_policy( + lambda: router_contract.functions.getAllowedRFQs().call() + ) + allowed.update(str(m).lower() for m in makers) + router = router_addr + except Exception as exc: + self.logger.warning( + "Could not resolve RFQ router/allowed makers via %s (%s); " + "only the deployments address will be accepted as maker", + deployment_addr, + exc, + ) + return None, frozenset({deployment_addr.lower()}) + + result = (router, frozenset(allowed)) + if self._cache_enabled: + _STATIC_CACHE.set(cache_key, result) + return result + + async def _resolve_rfq_execution_target( + self, w3: Any, deployment_contract: Any, quote: dict, order_data: dict + ) -> Result[str]: + """Pick and validate the contract ``simpleSwap`` must be sent to. + + * ``order.maker`` must be on the router's allow-list (or be the + deployments address). + * If the quote carries ``tx.to`` it must be the router or the maker; + it is then used as the target so the call follows the API's own + routing. Otherwise the maker is called directly. + """ + maker_raw = order_data.get("maker") + if not maker_raw: + return Result.fail("Invalid firm quote: missing 'order.maker' field.") + try: + maker = Web3.to_checksum_address(maker_raw) + except Exception: + return Result.fail(f"Invalid firm quote: 'order.maker' is not an address: {maker_raw}") + + router, allowed = await self._get_rfq_targets( + w3, deployment_contract, quote.get("chain_id") + ) + if maker.lower() not in allowed: + return Result.fail( + f"Firm quote maker {maker} is not an allowed RFQ contract " + f"(router={router or 'unknown'}); refusing to execute" + ) + + tx_meta = quote.get("tx") + tx_to = tx_meta.get("to") if isinstance(tx_meta, dict) else None + if not tx_to: + return Result.ok(maker) + try: + tx_to_cs = Web3.to_checksum_address(tx_to) + except Exception: + return Result.fail(f"Invalid firm quote: 'tx.to' is not an address: {tx_to}") + permitted = {maker.lower()} + if router: + permitted.add(router.lower()) + if tx_to_cs.lower() not in permitted: + return Result.fail( + f"Firm quote tx.to {tx_to_cs} is neither the RFQ router nor the order maker " + f"{maker}; refusing to execute" + ) + return Result.ok(tx_to_cs) + + def _check_tx_envelope( + self, + quote: dict, + target_contract: Any, + order_tuple: tuple, + signature_bytes: bytes, + msg_value: int, + ) -> str | None: + """Cross-check the API's ``tx`` envelope against the call the SDK encodes. + + The SDK always builds the calldata itself; the envelope is only used to + detect disagreement. Returns an error message when ``tx.data`` or + ``tx.value`` are present and differ, ``None`` otherwise. + """ + raw_tx = quote.get("tx") + tx_meta: dict[str, Any] = raw_tx if isinstance(raw_tx, dict) else {} + + api_data = tx_meta.get("data") + if api_data: + expected = self._encode_simple_swap(target_contract, order_tuple, signature_bytes) + if str(api_data).lower() != expected.lower(): + return ( + "Firm quote tx.data does not match the SDK-encoded simpleSwap call; " + "refusing to execute" + ) + + api_value = tx_meta.get("value") + if api_value not in (None, "") and self._to_int(api_value) != msg_value: + return ( + f"Firm quote tx.value {api_value} does not match the computed msg.value " + f"{msg_value}; refusing to execute" + ) + return None + + async def _get_erc20_allowance(self, w3: Any, token: str, owner: str, spender: str) -> int: + """Return ``allowance(owner, spender)`` of an ERC20 token in base units.""" + token_contract = w3.eth.contract( + address=Web3.to_checksum_address(token), abi=_ERC20_ALLOWANCE_ABI + ) + raw = await self._call_with_rpc_policy( + lambda: token_contract.functions.allowance(owner, spender).call() + ) + return int(raw) + + @staticmethod + def _encode_simple_swap(contract: Any, order_tuple: tuple, signature_bytes: bytes) -> str: + """ABI-encode ``simpleSwap(order, signature)`` calldata (web3 v7 / v6).""" + encoder = getattr(contract, "encode_abi", None) or contract.encodeABI + return str(encoder("simpleSwap", args=[order_tuple, signature_bytes])) + + @staticmethod + def _signature_to_bytes(signature: Any) -> bytes: + """Coerce a hex string (with or without ``0x``) or bytes to bytes.""" + if isinstance(signature, str): + hex_text = signature[2:] if signature.startswith("0x") else signature + return bytes.fromhex(hex_text) + return cast(bytes, signature) + + @staticmethod + def _rfq_error_context(quote: dict, order_data: dict, target: str) -> str: + """Compact ``key=value`` trail appended to swap errors for diagnosis.""" + parts = [f"target={target}", f"maker={order_data.get('maker')}"] + quote_id = quote.get("quote_id") + if quote_id: + parts.append(f"quote_id={quote_id}") + nonce_and_meta = order_data.get("nonce_and_meta") or order_data.get("nonceAndMeta") + if nonce_and_meta not in (None, ""): + parts.append(f"nonce_and_meta={nonce_and_meta}") + expiry = order_data.get("expiry") + if expiry not in (None, ""): + parts.append(f"expiry={expiry}") + return ", ".join(parts) + + async def _send_swap_tx( + self, w3: Any, fn_call: Any, *, value: int, wait_for_receipt: bool + ) -> tuple[str, dict, Any]: + """Estimate gas, build, sign and broadcast a contract call. + + Returns ``(tx_hex, tx, receipt)``; ``receipt`` is ``None`` unless + ``wait_for_receipt`` is set. + """ + if not self.account: + raise ValueError( + "Account is required for signing transactions. Set signer or PRIVATE_KEY." + ) + from_addr = cast(str, cast(Any, self.account).address) + + nonce = await self._get_nonce(w3) + gas_estimate = await self._estimate_function_gas( + fn_call, {"from": from_addr, "value": value} + ) + gas_price = await self._rpc_call(w3, "eth.gas_price") + + tx = await fn_call.build_transaction( + { + "from": from_addr, + "nonce": nonce, + "gas": int(gas_estimate * SWAP_GAS_BUFFER), + "gasPrice": gas_price, + "value": value, + } + ) + + # Use Account instance method - never expose private key + signed_tx = self.account.sign_transaction(tx) + tx_hash = await self._rpc_call(w3, "eth.send_raw_transaction", signed_tx.raw_transaction) + tx_hex = w3.to_hex(tx_hash) + + receipt = None + if wait_for_receipt: + receipt = await self._rpc_call(w3, "eth.wait_for_transaction_receipt", tx_hash) + return tx_hex, tx, receipt + + async def _describe_receipt_failure( + self, w3: Any, tx: dict, receipt: Any, tx_hex: str + ) -> str | None: + """Return a ``Transaction reverted: ...`` message, or ``None`` on success.""" + receipt_status = ( + receipt.status + if hasattr(receipt, "status") + else receipt.get("status", 1) + if receipt + else 1 + ) + if receipt_status == 1: + return None + + revert_reason = await self._extract_revert_reason(w3, tx, receipt) + block_number = ( + receipt.get("blockNumber") + if isinstance(receipt, dict) + else getattr(receipt, "blockNumber", None) + ) + detail_parts = [f"tx={tx_hex}"] + if block_number is not None: + detail_parts.append(f"block={block_number}") + if revert_reason: + detail_parts.append(f"reason={revert_reason}") + return f"Transaction reverted: {', '.join(detail_parts)}" async def _extract_revert_reason(self, w3: Any, tx: dict, receipt: Any) -> str | None: """Best-effort extraction of the on-chain revert reason for a failed tx. @@ -606,12 +1068,16 @@ async def _extract_revert_reason(self, w3: Any, tx: dict, receipt: Any) -> str | return None async def _get_rfq_contract(self, chain_id: int | None = None): - """Resolve MainnetRFQ contract and W3 instance for the target chain. + """Resolve the deployments MainnetRFQ contract and W3 for the target chain. RFQ SimpleSwap executes on the connected chain (e.g. Avalanche C-Chain for ``chain_id`` 43114), not on Dexalot L1. The ``chain_id`` argument selects which connected chain to route to; when ``None``, falls back to ``self.chain_id``. + + The returned contract is the legacy MainnetRFQ from the deployments + endpoint. It anchors router/maker discovery (``_get_rfq_targets``) + but is not itself the execution target — see ``execute_rfq_swap``. """ if "MainnetRFQ" not in self.deployments: return None, None @@ -622,12 +1088,7 @@ async def _get_rfq_contract(self, chain_id: int | None = None): rfq_deployments = self.deployments["MainnetRFQ"] - # Reverse-resolve target chain_id to its chain name via chain_config. - chain_name: str | None = None - for name, cfg in (self.chain_config or {}).items(): - if cfg.get("chain_id") == target_chain_id: - chain_name = name - break + chain_name = self._chain_name_for_id(target_chain_id) # Pick the deployment for the resolved chain. Deployments may be # keyed by chain name or by chain_id; check both. @@ -655,6 +1116,33 @@ async def _get_rfq_contract(self, chain_id: int | None = None): contract = w3.eth.contract(address=Web3.to_checksum_address(contract_address), abi=abi) return w3, contract + def _chain_name_for_id(self, chain_id: int | None) -> str | None: + """Reverse-resolve a connected-chain id to its ``chain_config`` name.""" + if chain_id is None: + return None + for name, cfg in (self.chain_config or {}).items(): + if cfg.get("chain_id") == chain_id: + return name + return None + + def _router_address_from_deployments(self, chain_id: int | None) -> str | None: + """Return the ``DexalotRouter`` address the deployments endpoint published + for *chain_id* (checksummed), or ``None`` when the backend did not list it.""" + routers = self.deployments.get("DexalotRouter") or {} + target_chain_id = chain_id if chain_id is not None else self.chain_id + chain_name = self._chain_name_for_id(target_chain_id) + entry = routers.get(chain_name) if chain_name is not None else None + if entry is None and target_chain_id is not None: + entry = routers.get(target_chain_id) or routers.get(str(target_chain_id)) + address = (entry or {}).get("address") + if not address: + return None + try: + return Web3.to_checksum_address(address) + except Exception: + self.logger.warning("Ignoring malformed DexalotRouter deployment address %r", address) + return None + async def _estimate_swap_gas(self, contract, order_tuple, signature_bytes, msg_value: int = 0): """Estimate gas for swap transaction with retry/rate limiting. @@ -666,30 +1154,13 @@ async def _estimate_swap_gas(self, contract, order_tuple, signature_bytes, msg_v raise ValueError("Account is required for gas estimation.") from_addr = cast(str, cast(Any, self.account).address) - if self._rpc_rate_limiter: - await self._rpc_rate_limiter.acquire() - - if self.config.retry_enabled: - from ..utils.retry import async_retry + fn_call = contract.functions.simpleSwap(order_tuple, signature_bytes) + return await self._estimate_function_gas(fn_call, {"from": from_addr, "value": msg_value}) - async def _estimate_gas(): - return await contract.functions.simpleSwap( - order_tuple, signature_bytes - ).estimate_gas({"from": from_addr, "value": msg_value}) - - retry_func = async_retry( - max_attempts=self.config.retry_max_attempts, - initial_delay=self.config.retry_initial_delay, - max_delay=self.config.retry_max_delay, - exponential_base=self.config.retry_exponential_base, - retry_on_status=self.config.retry_on_status, - retry_on_exceptions=self.config.retry_on_exceptions, - )(_estimate_gas) - return await retry_func() - else: - return await contract.functions.simpleSwap(order_tuple, signature_bytes).estimate_gas( - {"from": from_addr, "value": msg_value} - ) + async def _estimate_function_gas(self, fn_call: Any, tx_params: dict) -> int: + """``estimate_gas`` for a bound contract call under the RPC rate/retry policy.""" + estimate = await self._call_with_rpc_policy(lambda: fn_call.estimate_gas(tx_params)) + return cast(int, estimate) @staticmethod def _compute_msg_value(order_data: dict) -> int: diff --git a/tests/unit/core/test_base.py b/tests/unit/core/test_base.py index cd45b0f..25ee379 100644 --- a/tests/unit/core/test_base.py +++ b/tests/unit/core/test_base.py @@ -2948,3 +2948,70 @@ async def test_get_deployment_rest_failure_returns_sanitized_fail(self, client): assert not result.success assert "FQ-015" in result.error or "insufficient liquidity" in result.error.lower() + + +class TestDexalotRouterDeployment: + """The RFQ router is loaded from the deployments endpoint on a best-effort basis.""" + + @pytest.fixture + def client(self): + with patch.dict(os.environ, {"PRIVATE_KEY": "0x" + "a" * 64}, clear=False): + with patch("dexalot_sdk.core.config.load_dotenv"): + yield DexalotBaseClient() + + def test_deployments_include_router_slot(self, client): + assert client.deployments["DexalotRouter"] == {} + + def test_process_deployment_item_stores_router_for_avax_env(self, client): + client.deployments.pop("DexalotRouter", None) # setdefault path + item = {"env": client.ENV_PROD_MULTI_AVAX, "address": "0xRouter", "abi": [{"name": "f"}]} + client._process_deployment_item(item, "DexalotRouter") + assert client.deployments["DexalotRouter"]["Avalanche"] == { + "address": "0xRouter", + "abi": [{"name": "f"}], + } + + def test_process_deployment_item_ignores_router_on_subnet_env(self, client): + item = {"env": client.ENV_PROD_MULTI_SUBNET, "address": "0xRouter", "abi": []} + client._process_deployment_item(item, "DexalotRouter") + assert client.deployments["DexalotRouter"] == {} + + async def test_fetch_deployments_requests_router(self, client): + client._fetch_contract_deployment = AsyncMock() + await client._fetch_deployments() + requested = [call.args[1] for call in client._fetch_contract_deployment.call_args_list] + assert requested == ["TradePairs", "Portfolio", "MainnetRFQ", "DexalotRouter"] + + async def test_optional_router_fetch_failure_does_not_break_initialization(self, client): + async def fetch(deploy_url, contract_type): + if contract_type == "DexalotRouter": + raise RuntimeError("404") + + client._fetch_contract_deployment = AsyncMock(side_effect=fetch) + await client._fetch_deployments() # must not raise + assert client.deployments["DexalotRouter"] == {} + + def test_connected_chain_deployments_are_keyed_by_chain_name(self, client): + """On Fuji the connected chain is named "Fuji"; RFQ lookups use that name.""" + client.chain_config = {"Fuji": {"chain_id": 43113}, "BSC Testnet": {"chain_id": 97}} + client._process_deployment_item( + {"env": client.ENV_FUJI_MULTI_AVAX, "address": "0xRfq", "abi": []}, "MainnetRFQ" + ) + client._process_deployment_item( + {"env": client.ENV_FUJI_MULTI_AVAX, "address": "0xRouter", "abi": []}, "DexalotRouter" + ) + assert client.deployments["MainnetRFQ"] == {"Fuji": {"address": "0xRfq", "abi": []}} + assert client.deployments["DexalotRouter"] == {"Fuji": {"address": "0xRouter", "abi": []}} + + def test_connected_chain_key_falls_back_to_avalanche(self, client): + client.chain_config = {} + assert client._connected_chain_key(client.ENV_PROD_MULTI_AVAX) == "Avalanche" + client.chain_config = {"Avalanche": {"chain_id": 43114}} + assert client._connected_chain_key(client.ENV_PROD_MULTI_AVAX) == "Avalanche" + assert client._connected_chain_key(client.ENV_FUJI_MULTI_AVAX) == "Avalanche" + + def test_store_connected_chain_deployment_ignores_other_envs(self, client): + client._store_connected_chain_deployment( + "MainnetRFQ", client.ENV_PROD_MULTI_SUBNET, "0xRfq", [] + ) + assert client.deployments["MainnetRFQ"] == {} diff --git a/tests/unit/core/test_swap.py b/tests/unit/core/test_swap.py index ebf4110..e73eb51 100644 --- a/tests/unit/core/test_swap.py +++ b/tests/unit/core/test_swap.py @@ -4,22 +4,35 @@ import pytest from web3 import Web3 -from dexalot_sdk.core.base import _SEMI_STATIC_CACHE, DexalotBaseClient +from dexalot_sdk.core.base import _SEMI_STATIC_CACHE, _STATIC_CACHE, DexalotBaseClient from dexalot_sdk.core.config import DexalotConfig from dexalot_sdk.core.swap import SwapClient +from dexalot_sdk.utils.result import Result + +# Mainnet-shaped addresses used by the RFQ routing tests. The legacy address +# is what the deployments endpoint returns; the router is its +# ``trustedForwarder()``; makers are what firm quotes carry in ``order.maker``. +LEGACY_RFQ_ADDRESS = "0xeed3c159f3a96ab8d41c8b9ca49ee1e5071a7cdd" +ROUTER_ADDRESS = "0xf00240e5256e72771b46d095666594E0f40D085c" +MAKER_ADDRESS = "0x0000000000000000000000000000000000000003" +OTHER_MAKER_ADDRESS = "0x1FDb2b265d2A5C4302A75cAd682222E4e7bCc313" class MockClient(SwapClient, DexalotBaseClient): chain_id = 43114 -class TestSwapClient: +class SwapFixtures: + """Shared fixtures for every swap test class; holds no tests itself.""" + @pytest.fixture(autouse=True) def clear_cache(self): """Clear shared module-level caches between tests to ensure isolation.""" _SEMI_STATIC_CACHE.clear() + _STATIC_CACHE.clear() yield _SEMI_STATIC_CACHE.clear() + _STATIC_CACHE.clear() @pytest.fixture def client(self): @@ -56,6 +69,16 @@ def client(self): client.pairs = {} # Mock _get_nonce for nonce manager client._get_nonce = AsyncMock(return_value=0) + # On-chain target discovery and the ERC20 allowance pre-flight + # have dedicated tests; stub them permissively here so the + # execution-path tests stay focused on the tx pipeline. + client._get_rfq_targets = AsyncMock( + return_value=( + ROUTER_ADDRESS, + frozenset({LEGACY_RFQ_ADDRESS, MAKER_ADDRESS.lower()}), + ) + ) + client._get_erc20_allowance = AsyncMock(return_value=2**256 - 1) # Mock async session client._mock_session = MagicMock() @@ -72,6 +95,8 @@ def client(self): yield client + +class TestSwapClient(SwapFixtures): async def test_get_swap_pairs(self, client): """Test get_swap_pairs.""" # By ID @@ -470,7 +495,20 @@ async def test_execute_rfq_swap_errors(self, client): mock_contract.functions.simpleSwap.side_effect = Exception("Err") result = await client.execute_rfq_swap( - {"success": True, "signature": "s", "order": {"a": 1}} + { + "success": True, + "signature": "0x1234", + "order": { + "nonceAndMeta": 1, + "expiry": 9999999999, + "makerAsset": "0x0000000000000000000000000000000000000001", + "takerAsset": "0x0000000000000000000000000000000000000002", + "maker": MAKER_ADDRESS, + "taker": "0x0000000000000000000000000000000000000004", + "makerAmount": 1, + "takerAmount": 1, + }, + } ) assert not result.success assert "executing swap" in result.error.lower() @@ -635,6 +673,7 @@ async def test_execute_rfq_swap_result_success(self, client): } ) client._get_rfq_contract = AsyncMock(return_value=(client.w3_l1, mock_contract)) + client.w3_l1.eth.contract.return_value = mock_contract client.w3_l1.eth.gas_price = AsyncMock(return_value=100) client.w3_l1.eth.send_raw_transaction = AsyncMock(return_value=b"tx_hash") client.w3_l1.to_hex = lambda x: "0xHash" @@ -1047,6 +1086,7 @@ async def test_execute_rfq_swap_tx_reverted(self, client): } ) client._get_rfq_contract = AsyncMock(return_value=(client.w3_l1, mock_contract)) + client.w3_l1.eth.contract.return_value = mock_contract client.w3_l1.to_hex = lambda x: "0xdeadbeef" client.w3_l1.eth.call = AsyncMock(side_effect=Exception("execution reverted: RF-EXP-01")) @@ -1115,6 +1155,7 @@ async def test_execute_rfq_swap_revert_without_replay(self, client): } ) client._get_rfq_contract = AsyncMock(return_value=(client.w3_l1, mock_contract)) + client.w3_l1.eth.contract.return_value = mock_contract client.w3_l1.to_hex = lambda x: "0xabc123" # eth.call returns a value (no exception) — no revert reason available client.w3_l1.eth.call = AsyncMock(return_value=b"") @@ -1165,6 +1206,7 @@ async def test_execute_rfq_swap_no_wait_for_receipt(self, client): } ) client._get_rfq_contract = AsyncMock(return_value=(client.w3_l1, mock_contract)) + client.w3_l1.eth.contract.return_value = mock_contract client.w3_l1.to_hex = lambda x: "0xHash" async def mock_rpc_call(w3, method, *args): @@ -1200,7 +1242,7 @@ async def test_execute_rfq_swap_flat_firm_quote_succeeds(self, client): "expiry": 9999999999, "makerAsset": "0x0000000000000000000000000000000000000001", "takerAsset": "0x0000000000000000000000000000000000000002", - "maker": "0x0000000000000000000000000000000000000003", + "maker": LEGACY_RFQ_ADDRESS, "taker": "0x0000000000000000000000000000000000000004", "makerAmount": 1000, "takerAmount": 2000, @@ -1213,6 +1255,7 @@ async def test_execute_rfq_swap_flat_firm_quote_succeeds(self, client): } mock_contract = MagicMock() + mock_contract.encode_abi.return_value = "0x" mock_contract.functions.simpleSwap.return_value.estimate_gas = AsyncMock( return_value=100000 ) @@ -1225,6 +1268,7 @@ async def test_execute_rfq_swap_flat_firm_quote_succeeds(self, client): } ) client._get_rfq_contract = AsyncMock(return_value=(client.w3_l1, mock_contract)) + client.w3_l1.eth.contract.return_value = mock_contract client.w3_l1.to_hex = lambda x: "0xHash" async def mock_rpc_call(w3, method, *args): @@ -1248,7 +1292,7 @@ async def mock_rpc_call(w3, method, *args): 9999999999, "0x0000000000000000000000000000000000000001", "0x0000000000000000000000000000000000000002", - "0x0000000000000000000000000000000000000003", + Web3.to_checksum_address(LEGACY_RFQ_ADDRESS), "0x0000000000000000000000000000000000000004", 1000, 2000, @@ -1370,7 +1414,7 @@ async def test_execute_rfq_swap_handles_envelope_wrapped_response(self, client): "expiry": 9999999999, "makerAsset": "0x0000000000000000000000000000000000000001", "takerAsset": "0x0000000000000000000000000000000000000002", - "maker": "0x0000000000000000000000000000000000000003", + "maker": LEGACY_RFQ_ADDRESS, "taker": "0x0000000000000000000000000000000000000004", "makerAmount": 1000, "takerAmount": 2000, @@ -1384,6 +1428,7 @@ async def test_execute_rfq_swap_handles_envelope_wrapped_response(self, client): } mock_contract = MagicMock() + mock_contract.encode_abi.return_value = "0x" mock_contract.functions.simpleSwap.return_value.estimate_gas = AsyncMock( return_value=100000 ) @@ -1396,6 +1441,7 @@ async def test_execute_rfq_swap_handles_envelope_wrapped_response(self, client): } ) client._get_rfq_contract = AsyncMock(return_value=(client.w3_l1, mock_contract)) + client.w3_l1.eth.contract.return_value = mock_contract client.w3_l1.to_hex = lambda x: "0xHash" async def mock_rpc_call(w3, method, *args): @@ -1419,7 +1465,7 @@ async def mock_rpc_call(w3, method, *args): 9999999999, "0x0000000000000000000000000000000000000001", "0x0000000000000000000000000000000000000002", - "0x0000000000000000000000000000000000000003", + Web3.to_checksum_address(LEGACY_RFQ_ADDRESS), "0x0000000000000000000000000000000000000004", 1000, 2000, @@ -1473,6 +1519,7 @@ async def test_execute_rfq_swap_signature_without_0x_prefix(self, client): } ) client._get_rfq_contract = AsyncMock(return_value=(client.w3_l1, mock_contract)) + client.w3_l1.eth.contract.return_value = mock_contract client.w3_l1.to_hex = lambda x: "0xHash" async def mock_rpc_call(w3, method, *args): @@ -1657,7 +1704,11 @@ async def mock_rpc_call(w3, method, *args): assert res.success # Contract was created against the Avalanche provider, not L1. - avax_provider.eth.contract.assert_called_once() + addresses = [c.kwargs.get("address") for c in avax_provider.eth.contract.call_args_list] + assert addresses == [ + Web3.to_checksum_address(LEGACY_RFQ_ADDRESS), + Web3.to_checksum_address(MAKER_ADDRESS), + ] l1_provider.eth.contract.assert_not_called() # ------------------------------------------------------------------ @@ -1727,6 +1778,7 @@ async def test_execute_rfq_swap_passes_value_for_native_taker(self, client): return_value={"to": "0xeed3", "data": "0x"} ) client._get_rfq_contract = AsyncMock(return_value=(client.w3_l1, mock_contract)) + client.w3_l1.eth.contract.return_value = mock_contract client.w3_l1.to_hex = lambda x: "0xHash" async def mock_rpc_call(w3, method, *args): @@ -1778,6 +1830,7 @@ async def test_execute_rfq_swap_passes_zero_value_for_erc20_taker(self, client): return_value={"to": "0xeed3", "data": "0x"} ) client._get_rfq_contract = AsyncMock(return_value=(client.w3_l1, mock_contract)) + client.w3_l1.eth.contract.return_value = mock_contract client.w3_l1.to_hex = lambda x: "0xHash" async def mock_rpc_call(w3, method, *args): @@ -1803,3 +1856,692 @@ async def mock_rpc_call(w3, method, *args): 0 ][0] assert build_kwargs["value"] == 0 + + +# --------------------------------------------------------------------------- +# RFQ execution-target routing: firm quotes are served by several maker +# contracts behind DexalotRouter; the SDK must call tx.to / order.maker, never +# the deployments address, and must validate the target on-chain first. +# --------------------------------------------------------------------------- + + +def _firm_quote(**overrides): + order = { + "nonceAndMeta": 123, + "expiry": 9999999999, + "makerAsset": "0x1111111111111111111111111111111111111111", + "takerAsset": "0x2222222222222222222222222222222222222222", + "maker": MAKER_ADDRESS, + "taker": "0x0000000000000000000000000000000000000004", + "makerAmount": 1000, + "takerAmount": 2000, + } + order.update(overrides.pop("order", {})) + quote = {"success": True, "signature": "0x1234", "order": order, "quote_id": "q-1"} + quote.update(overrides) + return quote + + +def _wire_swap_pipeline(client): + """Make the connected-chain provider return one contract mock that can + estimate, build and be broadcast, and stub the RPC calls the pipeline makes.""" + mock_w3 = client.connected_chain_providers["Avalanche"] + mock_contract = MagicMock() + fn_call = mock_contract.functions.simpleSwap.return_value + fn_call.estimate_gas = AsyncMock(return_value=100000) + fn_call.build_transaction = AsyncMock(return_value={"to": "0xtarget", "data": "0x"}) + approve_call = mock_contract.functions.approve.return_value + approve_call.estimate_gas = AsyncMock(return_value=50000) + approve_call.build_transaction = AsyncMock(return_value={"to": "0xtoken", "data": "0x"}) + mock_contract.encode_abi.return_value = "0xENCODED" + mock_w3.eth.contract.return_value = mock_contract + mock_w3.to_hex.return_value = "0xHash" + + async def mock_rpc_call(w3, method, *args): + return { + "eth.wait_for_transaction_receipt": {"status": 1}, + "eth.send_raw_transaction": b"hash", + "eth.gas_price": 100, + }.get(method) + + client._rpc_call = AsyncMock(side_effect=mock_rpc_call) + return mock_w3, mock_contract + + +def _contract_addresses(mock_w3): + return [str(call.kwargs.get("address")) for call in mock_w3.eth.contract.call_args_list] + + +def _sent_tx_count(client): + return sum( + 1 for call in client._rpc_call.call_args_list if call.args[1] == "eth.send_raw_transaction" + ) + + +class TestRfqExecutionTarget(SwapFixtures): + async def test_execute_targets_tx_to_when_it_is_the_router(self, client): + """With tx.to present and equal to the router, the call goes to the router.""" + mock_w3, _ = _wire_swap_pipeline(client) + quote = _firm_quote(tx={"to": ROUTER_ADDRESS.lower()}) + + res = await client.execute_rfq_swap(quote) + + assert res.success, res.error + assert res.data["target"] == Web3.to_checksum_address(ROUTER_ADDRESS) + assert res.data["maker"] == Web3.to_checksum_address(MAKER_ADDRESS) + assert Web3.to_checksum_address(ROUTER_ADDRESS) in _contract_addresses(mock_w3) + + async def test_execute_targets_order_maker_without_tx(self, client): + """Without a tx envelope the maker contract itself is called.""" + mock_w3, _ = _wire_swap_pipeline(client) + + res = await client.execute_rfq_swap(_firm_quote()) + + assert res.success, res.error + assert res.data["target"] == Web3.to_checksum_address(MAKER_ADDRESS) + assert Web3.to_checksum_address(MAKER_ADDRESS) in _contract_addresses(mock_w3) + + async def test_execute_never_targets_deployments_address_for_other_maker(self, client): + """A quote from a non-legacy maker must not be sent to the legacy address.""" + mock_w3, _ = _wire_swap_pipeline(client) + client._get_rfq_targets = AsyncMock( + return_value=( + ROUTER_ADDRESS, + frozenset({LEGACY_RFQ_ADDRESS, OTHER_MAKER_ADDRESS.lower()}), + ) + ) + quote = _firm_quote(order={"maker": OTHER_MAKER_ADDRESS}) + + res = await client.execute_rfq_swap(quote) + + assert res.success, res.error + assert res.data["target"] == OTHER_MAKER_ADDRESS + # The deployments contract is created once as the discovery anchor, + # but the simpleSwap call is bound on the maker. + assert _contract_addresses(mock_w3)[-1] == OTHER_MAKER_ADDRESS + + async def test_execute_rejects_maker_outside_allowlist(self, client): + mock_w3, _ = _wire_swap_pipeline(client) + client._get_rfq_targets = AsyncMock( + return_value=(ROUTER_ADDRESS, frozenset({LEGACY_RFQ_ADDRESS})) + ) + + res = await client.execute_rfq_swap(_firm_quote(order={"maker": OTHER_MAKER_ADDRESS})) + + assert not res.success + assert "not an allowed RFQ contract" in res.error + assert OTHER_MAKER_ADDRESS in res.error + assert _sent_tx_count(client) == 0 + + async def test_execute_rejects_tx_to_that_is_neither_router_nor_maker(self, client): + _wire_swap_pipeline(client) + stray = "0x0000000000000000000000000000000000000009" + + res = await client.execute_rfq_swap(_firm_quote(tx={"to": stray})) + + assert not res.success + assert "neither the RFQ router nor the order maker" in res.error + assert _sent_tx_count(client) == 0 + + async def test_execute_allows_tx_to_equal_to_maker(self, client): + _wire_swap_pipeline(client) + + res = await client.execute_rfq_swap(_firm_quote(tx={"to": MAKER_ADDRESS})) + + assert res.success, res.error + assert res.data["target"] == Web3.to_checksum_address(MAKER_ADDRESS) + + async def test_execute_without_router_accepts_only_maker_as_tx_to(self, client): + """When no router could be resolved, tx.to must equal the maker.""" + _wire_swap_pipeline(client) + client._get_rfq_targets = AsyncMock( + return_value=(None, frozenset({LEGACY_RFQ_ADDRESS, MAKER_ADDRESS.lower()})) + ) + + res = await client.execute_rfq_swap(_firm_quote(tx={"to": ROUTER_ADDRESS})) + + assert not res.success + assert "neither the RFQ router nor the order maker" in res.error + + async def test_execute_rejects_tx_data_mismatch(self, client): + _wire_swap_pipeline(client) + + res = await client.execute_rfq_swap( + _firm_quote(tx={"to": ROUTER_ADDRESS, "data": "0xdeadbeef"}) + ) + + assert not res.success + assert "tx.data does not match" in res.error + assert _sent_tx_count(client) == 0 + + async def test_execute_accepts_matching_tx_data_case_insensitively(self, client): + _wire_swap_pipeline(client) + + res = await client.execute_rfq_swap( + _firm_quote(tx={"to": ROUTER_ADDRESS, "data": "0xencoded"}) + ) + + assert res.success, res.error + + async def test_execute_rejects_tx_value_mismatch(self, client): + _wire_swap_pipeline(client) + + res = await client.execute_rfq_swap(_firm_quote(tx={"to": ROUTER_ADDRESS, "value": "5"})) + + assert not res.success + assert "tx.value" in res.error + assert _sent_tx_count(client) == 0 + + async def test_execute_accepts_matching_tx_value_for_native_sell(self, client): + _, mock_contract = _wire_swap_pipeline(client) + quote = _firm_quote( + order={"takerAsset": "0x" + "0" * 40, "takerAmount": 2000}, + tx={"to": ROUTER_ADDRESS, "value": "2000"}, + ) + + res = await client.execute_rfq_swap(quote) + + assert res.success, res.error + build_args = mock_contract.functions.simpleSwap.return_value.build_transaction.call_args + assert build_args[0][0]["value"] == 2000 + + async def test_execute_fails_fast_when_allowance_insufficient(self, client): + mock_w3, _ = _wire_swap_pipeline(client) + client._get_erc20_allowance = AsyncMock(return_value=10) + + res = await client.execute_rfq_swap(_firm_quote()) + + assert not res.success + assert "Insufficient allowance" in res.error + assert Web3.to_checksum_address(MAKER_ADDRESS) in res.error + assert "approve_rfq_maker" in res.error + assert _sent_tx_count(client) == 0 + client._get_erc20_allowance.assert_awaited_once_with( + mock_w3, + Web3.to_checksum_address("0x2222222222222222222222222222222222222222"), + client.account.address, + Web3.to_checksum_address(MAKER_ADDRESS), + ) + + async def test_execute_skips_allowance_check_for_native_sell(self, client): + _wire_swap_pipeline(client) + client._get_erc20_allowance = AsyncMock(return_value=0) + + res = await client.execute_rfq_swap(_firm_quote(order={"takerAsset": "0x" + "0" * 40})) + + assert res.success, res.error + client._get_erc20_allowance.assert_not_awaited() + + async def test_execute_error_carries_quote_context(self, client): + _, mock_contract = _wire_swap_pipeline(client) + mock_contract.functions.simpleSwap.side_effect = Exception("boom") + + res = await client.execute_rfq_swap(_firm_quote(tx={"to": ROUTER_ADDRESS})) + + assert not res.success + assert "executing swap" in res.error + assert f"target={Web3.to_checksum_address(ROUTER_ADDRESS)}" in res.error + assert f"maker={MAKER_ADDRESS}" in res.error + assert "quote_id=q-1" in res.error + assert "nonce_and_meta=123" in res.error + assert "expiry=9999999999" in res.error + + async def test_execute_reverted_receipt_carries_context(self, client): + _wire_swap_pipeline(client) + + async def mock_rpc_call(w3, method, *args): + if method == "eth.wait_for_transaction_receipt": + return {"status": 0, "blockNumber": 7} + if method == "eth.send_raw_transaction": + return b"hash" + if method == "eth.gas_price": + return 100 + return None + + client._rpc_call = AsyncMock(side_effect=mock_rpc_call) + client._extract_revert_reason = AsyncMock(return_value="RF-IS-01") + + res = await client.execute_rfq_swap(_firm_quote()) + + assert not res.success + assert res.error.startswith("Transaction reverted: tx=0xHash, block=7, reason=RF-IS-01") + assert f"maker={MAKER_ADDRESS}" in res.error + + async def test_execute_fails_when_order_maker_missing(self, client): + _wire_swap_pipeline(client) + quote = _firm_quote() + del quote["order"]["maker"] + + res = await client.execute_rfq_swap(quote) + + assert not res.success + assert "order.maker" in res.error + + async def test_execute_fails_when_order_maker_is_not_an_address(self, client): + _wire_swap_pipeline(client) + + res = await client.execute_rfq_swap(_firm_quote(order={"maker": "not-an-address"})) + + assert not res.success + assert "not an address" in res.error + + async def test_execute_fails_when_tx_to_is_not_an_address(self, client): + _wire_swap_pipeline(client) + + res = await client.execute_rfq_swap(_firm_quote(tx={"to": "garbage"})) + + assert not res.success + assert "'tx.to' is not an address" in res.error + + async def test_execute_ignores_non_dict_tx_field(self, client): + _wire_swap_pipeline(client) + + res = await client.execute_rfq_swap(_firm_quote(tx="0xabc")) + + assert res.success, res.error + assert res.data["target"] == Web3.to_checksum_address(MAKER_ADDRESS) + + async def test_execute_no_wait_returns_target(self, client): + _wire_swap_pipeline(client) + + res = await client.execute_rfq_swap(_firm_quote(), wait_for_receipt=False) + + assert res.success, res.error + assert res.data["tx_hash"] == "0xHash" + assert not any( + call.args[1] == "eth.wait_for_transaction_receipt" + for call in client._rpc_call.call_args_list + ) + + async def test_signature_to_bytes_variants(self, client): + assert client._signature_to_bytes("0x1234") == b"\x12\x34" + assert client._signature_to_bytes("1234") == b"\x12\x34" + assert client._signature_to_bytes(b"\x12") == b"\x12" + + async def test_encode_simple_swap_falls_back_to_web3_v6_name(self, client): + contract = MagicMock(spec=["encodeABI"]) + contract.encodeABI.return_value = "0xv6" + assert client._encode_simple_swap(contract, (), b"") == "0xv6" + contract.encodeABI.assert_called_once_with("simpleSwap", args=[(), b""]) + + +class TestRfqTargetDiscovery(SwapFixtures): + """``_get_rfq_targets`` reads trustedForwarder() and getAllowedRFQs() on-chain.""" + + @pytest.fixture + def discovery(self, client): + # Restore the real implementation the base fixture stubs out. + client._get_rfq_targets = SwapClient._get_rfq_targets.__get__(client) + client._rpc_rate_limiter = None + + deployment = MagicMock() + deployment.address = Web3.to_checksum_address(LEGACY_RFQ_ADDRESS) + + forwarder_contract = MagicMock() + forwarder_contract.functions.trustedForwarder.return_value.call = AsyncMock( + return_value=ROUTER_ADDRESS + ) + router_contract = MagicMock() + router_contract.functions.getAllowedRFQs.return_value.call = AsyncMock( + return_value=[ + Web3.to_checksum_address(LEGACY_RFQ_ADDRESS), + OTHER_MAKER_ADDRESS, + ] + ) + w3 = MagicMock() + + def contract_factory(address, abi): + names = {entry["name"] for entry in abi} + if "trustedForwarder" in names: + return forwarder_contract + if "getAllowedRFQs" in names: + return router_contract + raise AssertionError(f"unexpected abi {names}") + + w3.eth.contract.side_effect = contract_factory + return client, w3, deployment, forwarder_contract, router_contract + + async def test_resolves_router_and_allowed_makers(self, discovery): + client, w3, deployment, _, _ = discovery + + router, allowed = await client._get_rfq_targets(w3, deployment) + + assert router == Web3.to_checksum_address(ROUTER_ADDRESS) + assert allowed == frozenset({LEGACY_RFQ_ADDRESS, OTHER_MAKER_ADDRESS.lower()}) + + async def test_result_is_cached_in_static_tier(self, discovery): + client, w3, deployment, forwarder_contract, _ = discovery + + first = await client._get_rfq_targets(w3, deployment) + second = await client._get_rfq_targets(w3, deployment) + + assert first == second + assert forwarder_contract.functions.trustedForwarder.return_value.call.await_count == 1 + + async def test_cache_disabled_refetches(self, discovery): + client, w3, deployment, forwarder_contract, _ = discovery + client._cache_enabled = False + + await client._get_rfq_targets(w3, deployment) + await client._get_rfq_targets(w3, deployment) + + assert forwarder_contract.functions.trustedForwarder.return_value.call.await_count == 2 + + async def test_lookup_failure_degrades_to_deployment_only_and_is_not_cached(self, discovery): + client, w3, deployment, forwarder_contract, _ = discovery + client.config.retry_enabled = False + forwarder_contract.functions.trustedForwarder.return_value.call = AsyncMock( + side_effect=Exception("rpc down") + ) + + router, allowed = await client._get_rfq_targets(w3, deployment) + await client._get_rfq_targets(w3, deployment) + + assert router is None + assert allowed == frozenset({LEGACY_RFQ_ADDRESS}) + assert forwarder_contract.functions.trustedForwarder.return_value.call.await_count == 2 + + async def test_router_lookup_failure_degrades_to_deployment_only(self, discovery): + client, w3, deployment, _, router_contract = discovery + client.config.retry_enabled = False + router_contract.functions.getAllowedRFQs.return_value.call = AsyncMock( + side_effect=Exception("rpc down") + ) + + router, allowed = await client._get_rfq_targets(w3, deployment) + + assert router is None + assert allowed == frozenset({LEGACY_RFQ_ADDRESS}) + + async def test_zero_forwarder_means_no_router(self, discovery): + client, w3, deployment, forwarder_contract, router_contract = discovery + forwarder_contract.functions.trustedForwarder.return_value.call = AsyncMock( + return_value="0x" + "0" * 40 + ) + + router, allowed = await client._get_rfq_targets(w3, deployment) + + assert router is None + assert allowed == frozenset({LEGACY_RFQ_ADDRESS}) + router_contract.functions.getAllowedRFQs.assert_not_called() + + async def test_rate_limiter_is_honoured(self, discovery): + client, w3, deployment, _, _ = discovery + limiter = MagicMock() + limiter.acquire = AsyncMock() + client._rpc_rate_limiter = limiter + + await client._get_rfq_targets(w3, deployment) + + assert limiter.acquire.await_count == 2 + + async def test_get_erc20_allowance_reads_chain(self, client): + client._get_erc20_allowance = SwapClient._get_erc20_allowance.__get__(client) + client._rpc_rate_limiter = None + w3 = MagicMock() + token_contract = MagicMock() + token_contract.functions.allowance.return_value.call = AsyncMock(return_value="42") + w3.eth.contract.return_value = token_contract + + allowance = await client._get_erc20_allowance( + w3, "0x2222222222222222222222222222222222222222", "0xowner", MAKER_ADDRESS + ) + + assert allowance == 42 + token_contract.functions.allowance.assert_called_once_with("0xowner", MAKER_ADDRESS) + + +class TestApproveRfqMaker(SwapFixtures): + async def test_requires_account(self, client): + client.account = None + with pytest.raises(ValueError, match="Account is required"): + await client.approve_rfq_maker(_firm_quote()) + + async def test_failed_result_input(self, client): + res = await client.approve_rfq_maker(Result.fail("no quote")) + assert not res.success + assert "no quote" in res.error + + async def test_empty_result_input(self, client): + res = await client.approve_rfq_maker(Result.ok(None)) + assert not res.success + assert "empty data" in res.error + + async def test_missing_order(self, client): + res = await client.approve_rfq_maker({"signature": "0x12"}) + assert not res.success + assert "'order'" in res.error + + async def test_missing_taker_asset(self, client): + quote = _firm_quote() + del quote["order"]["takerAsset"] + res = await client.approve_rfq_maker(quote) + assert not res.success + assert "takerAsset" in res.error + + async def test_contract_not_initialized(self, client): + client.connected_chain_providers = {} + res = await client.approve_rfq_maker(_firm_quote()) + assert not res.success + assert "not initialized" in res.error + + async def test_native_taker_asset_is_rejected(self, client): + _wire_swap_pipeline(client) + res = await client.approve_rfq_maker(_firm_quote(order={"takerAsset": "0x" + "0" * 40})) + assert not res.success + assert "does not need an allowance" in res.error + + async def test_maker_outside_allowlist_is_rejected(self, client): + _wire_swap_pipeline(client) + client._get_rfq_targets = AsyncMock( + return_value=(ROUTER_ADDRESS, frozenset({LEGACY_RFQ_ADDRESS})) + ) + res = await client.approve_rfq_maker(_firm_quote()) + assert not res.success + assert "not an allowed RFQ contract" in res.error + assert _sent_tx_count(client) == 0 + + async def test_non_positive_amount_is_rejected(self, client): + _wire_swap_pipeline(client) + res = await client.approve_rfq_maker(_firm_quote(), amount_wei=0) + assert not res.success + assert "must be positive" in res.error + + async def test_sufficient_allowance_sends_nothing(self, client): + _wire_swap_pipeline(client) + client._get_erc20_allowance = AsyncMock(return_value=2000) + + res = await client.approve_rfq_maker(_firm_quote()) + + assert res.success, res.error + assert res.data["approved"] is False + assert res.data["allowance"] == 2000 + assert res.data["spender"] == Web3.to_checksum_address(MAKER_ADDRESS) + assert _sent_tx_count(client) == 0 + + async def test_insufficient_allowance_approves_maker_for_taker_amount(self, client): + _, mock_contract = _wire_swap_pipeline(client) + client._get_erc20_allowance = AsyncMock(return_value=0) + + res = await client.approve_rfq_maker(_firm_quote()) + + assert res.success, res.error + assert res.data["approved"] is True + assert res.data["tx_hash"] == "0xHash" + assert res.data["amount"] == 2000 + mock_contract.functions.approve.assert_called_once_with( + Web3.to_checksum_address(MAKER_ADDRESS), 2000 + ) + assert _sent_tx_count(client) == 1 + + async def test_custom_amount_is_used(self, client): + _, mock_contract = _wire_swap_pipeline(client) + client._get_erc20_allowance = AsyncMock(return_value=0) + + res = await client.approve_rfq_maker(_firm_quote(), amount_wei=10**30) + + assert res.success, res.error + assert res.data["amount"] == 10**30 + mock_contract.functions.approve.assert_called_once_with( + Web3.to_checksum_address(MAKER_ADDRESS), 10**30 + ) + + async def test_no_wait_skips_receipt(self, client): + _wire_swap_pipeline(client) + client._get_erc20_allowance = AsyncMock(return_value=0) + + res = await client.approve_rfq_maker(_firm_quote(), wait_for_receipt=False) + + assert res.success, res.error + assert not any( + call.args[1] == "eth.wait_for_transaction_receipt" + for call in client._rpc_call.call_args_list + ) + + async def test_reverted_approval_is_reported(self, client): + _wire_swap_pipeline(client) + client._get_erc20_allowance = AsyncMock(return_value=0) + client._extract_revert_reason = AsyncMock(return_value=None) + + async def mock_rpc_call(w3, method, *args): + if method == "eth.wait_for_transaction_receipt": + return {"status": 0} + if method == "eth.send_raw_transaction": + return b"hash" + if method == "eth.gas_price": + return 100 + return None + + client._rpc_call = AsyncMock(side_effect=mock_rpc_call) + + res = await client.approve_rfq_maker(_firm_quote()) + + assert not res.success + assert res.error.startswith("Transaction reverted: tx=0xHash") + assert f"maker={MAKER_ADDRESS}" in res.error + + async def test_exception_is_sanitized_with_context(self, client): + _wire_swap_pipeline(client) + client._get_erc20_allowance = AsyncMock(side_effect=Exception("rpc down")) + + res = await client.approve_rfq_maker(_firm_quote()) + + assert not res.success + assert "approving RFQ maker" in res.error + assert "quote_id=q-1" in res.error + + async def test_successful_result_input_is_unwrapped(self, client): + _wire_swap_pipeline(client) + client._get_erc20_allowance = AsyncMock(return_value=2000) + + res = await client.approve_rfq_maker(Result.ok(_firm_quote())) + + assert res.success, res.error + assert res.data["approved"] is False + + +class TestSwapTxHelpers(SwapFixtures): + async def test_send_swap_tx_requires_account(self, client): + client.account = None + with pytest.raises(ValueError, match="Account is required"): + await client._send_swap_tx(MagicMock(), MagicMock(), value=0, wait_for_receipt=False) + + async def test_estimate_swap_gas_binds_simple_swap_and_estimates(self, client): + client._rpc_rate_limiter = None + contract = MagicMock() + contract.functions.simpleSwap.return_value.estimate_gas = AsyncMock(return_value=90000) + + estimate = await client._estimate_swap_gas(contract, (1, 2), b"\x01", msg_value=5) + + assert estimate == 90000 + contract.functions.simpleSwap.assert_called_once_with((1, 2), b"\x01") + contract.functions.simpleSwap.return_value.estimate_gas.assert_awaited_once_with( + {"from": client.account.address, "value": 5} + ) + + +class TestRouterFromDeployments(SwapFixtures): + """The router address is taken from the deployments endpoint when published, + with the on-chain trustedForwarder() lookup kept as fallback.""" + + @pytest.fixture + def discovery(self, client): + client._get_rfq_targets = SwapClient._get_rfq_targets.__get__(client) + client._rpc_rate_limiter = None + deployment = MagicMock() + deployment.address = Web3.to_checksum_address(LEGACY_RFQ_ADDRESS) + forwarder_contract = MagicMock() + forwarder_contract.functions.trustedForwarder.return_value.call = AsyncMock( + return_value=ROUTER_ADDRESS + ) + router_contract = MagicMock() + router_contract.functions.getAllowedRFQs.return_value.call = AsyncMock( + return_value=[OTHER_MAKER_ADDRESS] + ) + w3 = MagicMock() + created: list[str] = [] + + def contract_factory(address, abi): + created.append(address) + names = {entry["name"] for entry in abi} + if "trustedForwarder" in names: + return forwarder_contract + if "getAllowedRFQs" in names: + return router_contract + raise AssertionError(f"unexpected abi {names}") + + w3.eth.contract.side_effect = contract_factory + return client, w3, deployment, forwarder_contract, router_contract, created + + async def test_api_router_skips_on_chain_forwarder_lookup(self, discovery): + client, w3, deployment, forwarder_contract, _, created = discovery + client.deployments["DexalotRouter"] = {"Avalanche": {"address": ROUTER_ADDRESS.lower()}} + + router, allowed = await client._get_rfq_targets(w3, deployment, chain_id=43114) + + assert router == Web3.to_checksum_address(ROUTER_ADDRESS) + assert allowed == frozenset({LEGACY_RFQ_ADDRESS, OTHER_MAKER_ADDRESS.lower()}) + forwarder_contract.functions.trustedForwarder.assert_not_called() + assert created == [Web3.to_checksum_address(ROUTER_ADDRESS)] + + async def test_missing_api_router_falls_back_to_trusted_forwarder(self, discovery): + client, w3, deployment, forwarder_contract, _, _ = discovery + client.deployments["DexalotRouter"] = {} + + router, _ = await client._get_rfq_targets(w3, deployment, chain_id=43114) + + assert router == Web3.to_checksum_address(ROUTER_ADDRESS) + forwarder_contract.functions.trustedForwarder.assert_called_once() + + async def test_router_address_resolves_by_chain_name_then_chain_id(self, client): + client.deployments["DexalotRouter"] = {"Avalanche": {"address": ROUTER_ADDRESS}} + assert client._router_address_from_deployments(43114) == Web3.to_checksum_address( + ROUTER_ADDRESS + ) + # Defaults to self.chain_id when no chain is given. + assert client._router_address_from_deployments(None) == Web3.to_checksum_address( + ROUTER_ADDRESS + ) + client.deployments["DexalotRouter"] = {43113: {"address": ROUTER_ADDRESS}} + assert client._router_address_from_deployments(43113) == Web3.to_checksum_address( + ROUTER_ADDRESS + ) + client.deployments["DexalotRouter"] = {"43113": {"address": ROUTER_ADDRESS}} + assert client._router_address_from_deployments(43113) == Web3.to_checksum_address( + ROUTER_ADDRESS + ) + + async def test_router_address_missing_or_malformed_is_none(self, client): + client.deployments.pop("DexalotRouter", None) + assert client._router_address_from_deployments(43114) is None + client.deployments["DexalotRouter"] = {"Avalanche": {}} + assert client._router_address_from_deployments(43114) is None + client.deployments["DexalotRouter"] = {"Avalanche": {"address": "not-an-address"}} + assert client._router_address_from_deployments(43114) is None + client.chain_id = None + assert client._router_address_from_deployments(None) is None + + async def test_chain_name_for_id(self, client): + assert client._chain_name_for_id(43114) == "Avalanche" + assert client._chain_name_for_id(1) is None + assert client._chain_name_for_id(None) is None diff --git a/uv.lock b/uv.lock index b957b38..2d3c1ee 100644 --- a/uv.lock +++ b/uv.lock @@ -13,7 +13,7 @@ wheels = [ [[package]] name = "aiohttp" -version = "3.14.1" +version = "3.14.3" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "aiohappyeyeballs" }, @@ -25,90 +25,90 @@ dependencies = [ { name = "typing-extensions", marker = "python_full_version < '3.13'" }, { name = "yarl" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/82/78/8ea7308cac6934de8c74a14f3d5f65d1c89287426688be79538d0e5c013d/aiohttp-3.14.1.tar.gz", hash = "sha256:307f2cff90a764d329e77040603fa032db89c5c24fdad50c4c15334cba744035", size = 7955794, upload-time = "2026-06-07T21:09:35.529Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/1d/21/151624b51cd92553d95424daf4bf19f19ce9be9002d19253e7e7ce67197b/aiohttp-3.14.1-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:d35143e27778b4bb0fb189562d7f275bff79c62ab8e98459717c0ea617ff2480", size = 757402, upload-time = "2026-06-07T21:06:40.311Z" }, - { url = "https://files.pythonhosted.org/packages/c2/82/280619e0bd7bf2454987e19282616e84762255dd9c8468f62382e8c191f1/aiohttp-3.14.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:bcfb80a2cc36fba2534e5e5b5264dc7ae6fcd9bf15256da3e53d2f499e6fa29d", size = 512310, upload-time = "2026-06-07T21:06:42.207Z" }, - { url = "https://files.pythonhosted.org/packages/55/b2/2aac325583aaa1353045f96dffa586d8a34e8322e14a7ba49cffeb103ab4/aiohttp-3.14.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:27fd7c91e51729b4f7e1577865fa6d34c9adccbc39aabe9000285b48af9f0ec2", size = 512448, upload-time = "2026-06-07T21:06:43.813Z" }, - { url = "https://files.pythonhosted.org/packages/8a/72/a60607cb849faa8af8a356c9329ea2eb6f395d49e82cc82ccba1fd8deb8f/aiohttp-3.14.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:64c567bf9eaf664280116a8688f63016e6b32db2505908e2bdaca1b6438142f2", size = 1766854, upload-time = "2026-06-07T21:06:45.391Z" }, - { url = "https://files.pythonhosted.org/packages/b5/d3/d9fe1c9ec7557ab4d0d82bebaa728c6418f0b93295ec2f4ab015f7710cc7/aiohttp-3.14.1-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:f5e6ff2bdbb8f4cd3fbe41f99e25bbcd58e3bf9f13d3dd31a11e7917251cc77a", size = 1740884, upload-time = "2026-06-07T21:06:47.413Z" }, - { url = "https://files.pythonhosted.org/packages/c1/dc/f2cecfaf9337ba3e63f181500814ff502aa3d00d9c7ec93a9d23d10a27b2/aiohttp-3.14.1-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:2f73e01dc37122325caf079982621262f96d74823c179038a82fddfc50359264", size = 1810034, upload-time = "2026-06-07T21:06:50.165Z" }, - { url = "https://files.pythonhosted.org/packages/66/d7/2ff65c5e65c0d7476daf7e15c032e0805e36811185b9623e3238ad6c763e/aiohttp-3.14.1-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:bb2c0c80d431c0d03f2c7dbf125150fedd4f0de17366a7ca33f7ccb822391842", size = 1904054, upload-time = "2026-06-07T21:06:52.035Z" }, - { url = "https://files.pythonhosted.org/packages/20/9c/d445818389df371f56d141d881153ba23183c4735a03f7356ffb43f7757d/aiohttp-3.14.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:3e6fc1a85fa7194a1a7d19f44e8609180f4a8eb5fa4c7ed8b4355f080fad235c", size = 1790278, upload-time = "2026-06-07T21:06:54.049Z" }, - { url = "https://files.pythonhosted.org/packages/4d/aa/bf04cb4d865fc6101c2229a294ad744973b72e513fdc5a6b791e6983d72a/aiohttp-3.14.1-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:686b6c0d3911ec387b444ddf5dc62fb7f7c0a7d5186a7861626496a5ab4aff95", size = 1591795, upload-time = "2026-06-07T21:06:55.911Z" }, - { url = "https://files.pythonhosted.org/packages/dc/b4/4dac0038960427ba832f6609dfb4ea5437d7fd80c72001b9e48f834f428b/aiohttp-3.14.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:c6fa4dc7ad6f8109c70bb1499e589f76b0b792baf39f9b017eb92c8a81d0a199", size = 1728397, upload-time = "2026-06-07T21:06:57.777Z" }, - { url = "https://files.pythonhosted.org/packages/2b/f9/7cd4e8ad7aa3b75f17d56bb5498dd604a93d4e6eece822ba0568c413fff0/aiohttp-3.14.1-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:87a5eea1b2a5e21e1ebdbb33ad4165359189327e63fc4e4894693e7f821ac817", size = 1766504, upload-time = "2026-06-07T21:07:00.009Z" }, - { url = "https://files.pythonhosted.org/packages/f9/df/fc01d9fcad0f73fed3f3d361f1f94f975947b50dff82919f6dc2bf4316cc/aiohttp-3.14.1-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:1c1421eb01d4fd608d88cc8290211d177a58532b55ad94076fb349c5bf467f0a", size = 1777806, upload-time = "2026-06-07T21:07:02.064Z" }, - { url = "https://files.pythonhosted.org/packages/41/09/47e2d090bddcc8fb4ccb4c314aadc32d7c5d9bb55f50f6ad1c92fc15d501/aiohttp-3.14.1-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:34b257ec41345c1e8f2df68fa908a7952f5de932723871eb633ecbbff396c9a4", size = 1580707, upload-time = "2026-06-07T21:07:03.942Z" }, - { url = "https://files.pythonhosted.org/packages/3d/36/f1a4ce904ae0b6930cfe9afc96d0896f7ec1a620c400405d63783bb95a9c/aiohttp-3.14.1-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:de538791a80e5d862addbc183f70f0158ac9b9bb872bb147f1fd2a683691e087", size = 1798121, upload-time = "2026-06-07T21:07:05.987Z" }, - { url = "https://files.pythonhosted.org/packages/70/0a/e0075ce9ca0279ee1d4f0c0b85f54fea02ebc83c3007651a72bece658fec/aiohttp-3.14.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:6f71173be42d3241d428f760122febb748de0623f44308a6f120d0dd9ec572e3", size = 1767580, upload-time = "2026-06-07T21:07:07.873Z" }, - { url = "https://files.pythonhosted.org/packages/3e/61/a0c0a8f327a9c52095cdd8e312391b00d3ed64ab6c72bb5c33d8ec251cf7/aiohttp-3.14.1-cp312-cp312-win32.whl", hash = "sha256:ec8dc383ee57ea3e883477dcca3f11b65d58199f1080acaf4cd6ad9a99698be4", size = 452771, upload-time = "2026-06-07T21:07:09.669Z" }, - { url = "https://files.pythonhosted.org/packages/df/d9/ea367c75f16ac9c6cdc8febb25e8318fa21a2b1bc8d6514d4b2d890bface/aiohttp-3.14.1-cp312-cp312-win_amd64.whl", hash = "sha256:2aa92c87868cd13674989f9ee83e5f9f7ea4237589b728048e1f0c8f6caa3271", size = 479873, upload-time = "2026-06-07T21:07:11.538Z" }, - { url = "https://files.pythonhosted.org/packages/03/64/8d96784a7851156db8a4c6c3f6f91042fdf39fb15a4cc38c8b3c14833c45/aiohttp-3.14.1-cp312-cp312-win_arm64.whl", hash = "sha256:2c840c90759922cb5e6dda94596e079a30fb5a5ba548e7e0dc00574703940847", size = 448073, upload-time = "2026-06-07T21:07:13.637Z" }, - { url = "https://files.pythonhosted.org/packages/bc/97/bd137012dd97e1649162b099135a80e1fd59aaa807b2430fc448d1029aff/aiohttp-3.14.1-cp313-cp313-android_21_arm64_v8a.whl", hash = "sha256:b3a03285a7f9c7b016324574a6d92a1c895da6b978cb8f1deee3ac72bc6da178", size = 506882, upload-time = "2026-06-07T21:07:15.501Z" }, - { url = "https://files.pythonhosted.org/packages/ef/79/e5cc690e9d922a66887ceeaca53a8ffd5a7b0be3816142b7abc433742d89/aiohttp-3.14.1-cp313-cp313-android_21_x86_64.whl", hash = "sha256:2a73f487ab8ef5abbb24b7aa9b73e98eaba9e9e031804ff2416f02eca315ccaf", size = 515270, upload-time = "2026-06-07T21:07:17.53Z" }, - { url = "https://files.pythonhosted.org/packages/fe/22/a73ccbf9dbd6e26dda0b24d5fd5db7da92ee3383a79f47677ffb834c5c5b/aiohttp-3.14.1-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:915fbb7b41b115192259f8c9ae58f3ddc444d2b5579917270211858e606a4afd", size = 485841, upload-time = "2026-06-07T21:07:19.555Z" }, - { url = "https://files.pythonhosted.org/packages/3b/b9/57ed8eaf596321c2ad747bd480fb1700dbd7177c60dfc9e4c187f629662e/aiohttp-3.14.1-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:7fb4bdf95b0561a79f259f9d28fbc109728c5ee7f27aff6391f0ca703a329abe", size = 492088, upload-time = "2026-06-07T21:07:21.581Z" }, - { url = "https://files.pythonhosted.org/packages/78/c0/5ebe5270a7c140d7c6f79dcb018640225f14d406c149e4eec04a7d82fe71/aiohttp-3.14.1-cp313-cp313-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:1b9748363260121d2927704f5d4fc498150669ca3ae93625986ee89c8f80dcd4", size = 501564, upload-time = "2026-06-07T21:07:23.388Z" }, - { url = "https://files.pythonhosted.org/packages/75/7f/8cdaa24fc7983865e0915153b96a9ac5bcdd3548d64c5a27d17cecccad2d/aiohttp-3.14.1-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:86a6dab78b0e43e2897a3bbe15745aa60dc5423ca437b7b0b164c069bf91b876", size = 751998, upload-time = "2026-06-07T21:07:25.046Z" }, - { url = "https://files.pythonhosted.org/packages/b2/f4/c4227aacfacc5cb0cc2d119b65301d177912a6842cd64e120c47af76064f/aiohttp-3.14.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:4dfd6e47d3c44c2279907607f73a4240b88c69eb8b90da7e2441a8045dfd21da", size = 510918, upload-time = "2026-06-07T21:07:27.28Z" }, - { url = "https://files.pythonhosted.org/packages/ab/01/a2d5f96cd4e74424864d30bc0a7e44d0a12dacdcfa91b5b2d1bd3dca6bf3/aiohttp-3.14.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:317acd9f8602858dc7d59679812c376c7f0b97bcbbf16e0d6237f54141d8a8a6", size = 508657, upload-time = "2026-06-07T21:07:29.252Z" }, - { url = "https://files.pythonhosted.org/packages/e8/ed/3c0fb5c500fdd8e7ebc10d1889c04384fffa1a9163eac1356088ca9da1b1/aiohttp-3.14.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:bd869c427324e5cb15195793de951295710db28be7d818247f3097b4ab5d4b96", size = 1757907, upload-time = "2026-06-07T21:07:31.03Z" }, - { url = "https://files.pythonhosted.org/packages/0b/ab/d4c924d9bd5be3050c226612413ce68cb54c70d2c31b661bfc8d9a5b6a70/aiohttp-3.14.1-cp313-cp313-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:93b032b5ec3255473c143627d21a69ac74ae12f7f33974cb587c564d11b1066f", size = 1737565, upload-time = "2026-06-07T21:07:33.031Z" }, - { url = "https://files.pythonhosted.org/packages/19/2a/37326821ff779084020cdc33224d20b19f42f4183a500ff92022a739eda7/aiohttp-3.14.1-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:f234b4deb12f3ad59127e037bc57c40c21e45b45282df7d3a55a0f409f595296", size = 1799018, upload-time = "2026-06-07T21:07:35.003Z" }, - { url = "https://files.pythonhosted.org/packages/b3/4f/6e947ba73e4ce09070761c05ed3a8ceb7c21f5e46798671d8b2aac0e4626/aiohttp-3.14.1-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:9af6779bfb46abf124068327abcdf9ce95c9ef8287a3e8da76ccf2d0f16c28fa", size = 1894416, upload-time = "2026-06-07T21:07:36.956Z" }, - { url = "https://files.pythonhosted.org/packages/9d/6e/dbf1d0625dc711fb2851f4f3c3055c39ed58bae92082d8c627dbe6013736/aiohttp-3.14.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:faccab372e66bc76d5731525e7f1143c922271725b9d38c9f97edcc66266b451", size = 1783881, upload-time = "2026-06-07T21:07:39.063Z" }, - { url = "https://files.pythonhosted.org/packages/44/c2/5e25098a67268ed369483ae7d1a58bd0a13d03aab860d2a0e4a6eb25b046/aiohttp-3.14.1-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:f380468b09d2a81633ee863b0ec5648d364bd17bb8ecfb8c2f387f7ac1faf42c", size = 1587572, upload-time = "2026-06-07T21:07:41.058Z" }, - { url = "https://files.pythonhosted.org/packages/2a/bd/cf9cee17e140f942a3de73e658a543aa8fbf35a5fc67a9d2538d52d77f0b/aiohttp-3.14.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:97e704dcd26271f5bda3fa07c3ce0fb76d6d3f8659f4baa1a24442cc9ba177ca", size = 1722137, upload-time = "2026-06-07T21:07:43.014Z" }, - { url = "https://files.pythonhosted.org/packages/89/6d/5684f8c59045c96f81a18cefbc1fbbd79d25b88f1c622f2a5c5c08fcb632/aiohttp-3.14.1-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:269b76ac5394092b95bc4a098f4fc6c191c083c3bd12775d1e30e663132f6a09", size = 1755953, upload-time = "2026-06-07T21:07:45.933Z" }, - { url = "https://files.pythonhosted.org/packages/a8/40/35caf3170f8359760740a7d9aa0fff2e344bef98e1d1186f5a0f6dec17e6/aiohttp-3.14.1-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:5c0b3e614340c889d575451696374c9d17affd54cd607ca0babed8f8c37b9397", size = 1766479, upload-time = "2026-06-07T21:07:48.047Z" }, - { url = "https://files.pythonhosted.org/packages/6d/a1/b0c61e7a137f0d81de49a82023a6df73c3c16d6fefb0f8e4a93d21639002/aiohttp-3.14.1-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:5663ee9257cfa1add7253a7da3035a02f31b6600ec48261585e1800a81533080", size = 1580077, upload-time = "2026-06-07T21:07:50.069Z" }, - { url = "https://files.pythonhosted.org/packages/0b/41/194ea4623693009fcefebef7aef63c141754f153e9cd0d39d3b9e36c175c/aiohttp-3.14.1-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:603a2c834142172ffddc054067f5ec0ca65d57a0aa98a71bc81952573208e345", size = 1791688, upload-time = "2026-06-07T21:07:52.106Z" }, - { url = "https://files.pythonhosted.org/packages/ba/45/4de841f005cfe1fd63e2a2fe011262c515e2a62aa6994b15947e7d717ac9/aiohttp-3.14.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:cb21957bb8aca671c1765e32f58164cf0c50e6bf41c0bbbd16da20732ecaf588", size = 1761094, upload-time = "2026-06-07T21:07:54.113Z" }, - { url = "https://files.pythonhosted.org/packages/e4/ae/dbce10533d3896d544d5053939ed75b7dc31a1b0973d959b1b5ae21028d6/aiohttp-3.14.1-cp313-cp313-win32.whl", hash = "sha256:e509a55f681e6158c20f70f102f9cf61fb20fbc382272bc6d94b7343f2582780", size = 452662, upload-time = "2026-06-07T21:07:56.06Z" }, - { url = "https://files.pythonhosted.org/packages/7b/d9/0bf1a19362c32f06229da5e7ddfcec91f93474d6307f7a2d3135e9c674dc/aiohttp-3.14.1-cp313-cp313-win_amd64.whl", hash = "sha256:1ac8531b638959718e18c2207fbfe297819875da46a740b29dfa29beba64355a", size = 479748, upload-time = "2026-06-07T21:07:58.319Z" }, - { url = "https://files.pythonhosted.org/packages/22/0a/62e7232dc9484fbec112ceb32efb6a624cc7994ec6e2b019286f17c4e8f2/aiohttp-3.14.1-cp313-cp313-win_arm64.whl", hash = "sha256:250d14af67f6b6a1a4a811049b1afa69d61d617fca6bf33149b3ab1a6dbcf7b8", size = 447723, upload-time = "2026-06-07T21:08:00.154Z" }, - { url = "https://files.pythonhosted.org/packages/c4/a1/5fafa04e1ca91ddb47608699d60649c1c6db3cf41c99e78fc4056f9513db/aiohttp-3.14.1-cp314-cp314-android_24_arm64_v8a.whl", hash = "sha256:7c106c26852ca1c2047c6b80384f17100b4e439af276f21ef3d4e2f450ae7e15", size = 508531, upload-time = "2026-06-07T21:08:02.093Z" }, - { url = "https://files.pythonhosted.org/packages/fa/2e/bfa02f699d87ffc86d5959270b28f1cb410add3ccaced8ed2e0b8a5238fc/aiohttp-3.14.1-cp314-cp314-android_24_x86_64.whl", hash = "sha256:20205f7f5ade7aaec9f4b500549bbc071b046453aed72f9c06dcab87896a83e8", size = 514718, upload-time = "2026-06-07T21:08:04.476Z" }, - { url = "https://files.pythonhosted.org/packages/85/a5/9594ad6289eebbc97d167c44213d557807f90e59115caad24de21ad2c3b1/aiohttp-3.14.1-cp314-cp314-ios_13_0_arm64_iphoneos.whl", hash = "sha256:62a759436b29e677181a9e76bab8b8f689a29cb9c535f45f7c48c9c830d3f8c3", size = 487918, upload-time = "2026-06-07T21:08:06.377Z" }, - { url = "https://files.pythonhosted.org/packages/b4/61/16a32c36c3c49edec122a3dc811f2057df2f94d3b14aa107c8017d981618/aiohttp-3.14.1-cp314-cp314-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:2964cbf553df4d7a57348da44d961d871895fc1ee4e8c322b2a95612c7b17fba", size = 494014, upload-time = "2026-06-07T21:08:08.263Z" }, - { url = "https://files.pythonhosted.org/packages/9b/89/3ebcf96ed99c05bec9c434aaac6963fd3cbab4a786ae739908a144d9ce44/aiohttp-3.14.1-cp314-cp314-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:237651caadc3a59badd39319c54642b5299e9cc98a3a194310e55d5bb9f5e397", size = 502398, upload-time = "2026-06-07T21:08:10.244Z" }, - { url = "https://files.pythonhosted.org/packages/fd/3d/b74870a0c2d40c355928cd5b96c7a11fa821b8a40fc41365e64479b151fb/aiohttp-3.14.1-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:896e12dfdbbab9d8f7e16d2b28c6769a60126fa92095d1ebf9473d02593a2448", size = 758018, upload-time = "2026-06-07T21:08:12.447Z" }, - { url = "https://files.pythonhosted.org/packages/d3/66/f42f5c984d99e49c6cff5f26f590750f2e2f7ef1fcfb99966ab5be1b632e/aiohttp-3.14.1-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:d03f281ed22579314ba00821ce20115a7c0ac430660b4cc05704a3f818b3e004", size = 512462, upload-time = "2026-06-07T21:08:14.624Z" }, - { url = "https://files.pythonhosted.org/packages/e9/a7/248e1aebe0c7810b0271e021a0f2a5eb6e78a051885b3c9df49f42a5802d/aiohttp-3.14.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:07eabb979d236335fed927e137a928c9adfb7df3b9ec7aa31726f133a62be983", size = 512824, upload-time = "2026-06-07T21:08:16.572Z" }, - { url = "https://files.pythonhosted.org/packages/26/97/2aa0e5ba0727dc3bd5aaebb7ccbc510f7dfb7fb961ec87497cd496635ab1/aiohttp-3.14.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4fe1f1087cbadb280b5e1bb054a4f00d1423c74d6626c5e48400d871d34ecefe", size = 1749898, upload-time = "2026-06-07T21:08:18.635Z" }, - { url = "https://files.pythonhosted.org/packages/00/8d/e97f6c96c891d457c8479d92a514ba194d0412f981d72c70341ee18488ed/aiohttp-3.14.1-cp314-cp314-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:367a9314fdc79dab0fac96e216cb41dd73c85bdca85306ce8999118ba7e0f333", size = 1710114, upload-time = "2026-06-07T21:08:20.892Z" }, - { url = "https://files.pythonhosted.org/packages/6f/e6/aa8d7e863048c8fceb5cd6ce74017311cec3ead07847387e12265fb4444e/aiohttp-3.14.1-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:a24f677ebe83749039e7bdf862ff0bbb16818ae4193d4ef96505e269375bcce0", size = 1802541, upload-time = "2026-06-07T21:08:23.044Z" }, - { url = "https://files.pythonhosted.org/packages/83/a8/72193137de57fda4ebfae4563182d082c8856e3b6e9871d0b46f028fb369/aiohttp-3.14.1-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:c83afe0ba876be7e943d2e0ba645809ad441575d2840c895c21ee5de93b9377a", size = 1875776, upload-time = "2026-06-07T21:08:25.288Z" }, - { url = "https://files.pythonhosted.org/packages/a0/18/938441025db6769a3464596b2410af3afde0b21eb2f204c6f766f68af4bd/aiohttp-3.14.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:634e385930fb6d2d479cf3aa66515955863b77a5e3c2b5894ca259a25b308602", size = 1760329, upload-time = "2026-06-07T21:08:27.363Z" }, - { url = "https://files.pythonhosted.org/packages/60/29/bf2496b4065e76e09fe48015aaffe5ce161d8f089b06ac6982070f653076/aiohttp-3.14.1-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:eeea07c4397bbc57719c4eed8f9c284874d4f175f9b6d57f7a1546b976d455ca", size = 1587293, upload-time = "2026-06-07T21:08:29.805Z" }, - { url = "https://files.pythonhosted.org/packages/49/a2/2136674d52123b1354bd05dd5753c318db47dc0c927cc70b27bab3755456/aiohttp-3.14.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:335c0cc3e3545ce98dcb9cfcb836f40c3411f43fa03dab757597d80c89af8a35", size = 1714756, upload-time = "2026-06-07T21:08:32.094Z" }, - { url = "https://files.pythonhosted.org/packages/a7/b9/e5fd2e6f915503081c0f9b1e8540947037929c70c191da2e4d54b31a21a1/aiohttp-3.14.1-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:ae6be797afdef264e8a84864a85b196ca06045586481b3df8a967322fd2fa844", size = 1721052, upload-time = "2026-06-07T21:08:34.167Z" }, - { url = "https://files.pythonhosted.org/packages/63/5a/2833e324a2263e104e31e2e91bc5bbee81bc499afd32203faee048a883f0/aiohttp-3.14.1-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:8560b4d712474335d08907db7973f71912d3a9a8f1dee992ec06b5d2fe359496", size = 1766888, upload-time = "2026-06-07T21:08:36.95Z" }, - { url = "https://files.pythonhosted.org/packages/57/fa/dea6511870913162f3b2e8c42a7614eb203a4540b8c2da43e0bfb0548f3c/aiohttp-3.14.1-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:2b7edd08e0a5deb1e8564a2fcd8f4561014a3f05252334671bbf55ddd47db0e5", size = 1581679, upload-time = "2026-06-07T21:08:39.292Z" }, - { url = "https://files.pythonhosted.org/packages/14/bd/3cf0d55e71784b33534e9710a67d382d900598b4787fbce6cc7317f8c42a/aiohttp-3.14.1-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:b6ff7fcee63287ae57b5df3e4f5957ce032122802509246dec1a5bcc55904c95", size = 1782021, upload-time = "2026-06-07T21:08:41.407Z" }, - { url = "https://files.pythonhosted.org/packages/c1/af/14bb5843eccbe234f4dfb78ab73e549d99727247e62ae5d62cbd22eaf5b0/aiohttp-3.14.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:6ffbb2f4ec1ceaff7e07d43922954da26b223d188bf30658e561b98e23089444", size = 1742574, upload-time = "2026-06-07T21:08:43.795Z" }, - { url = "https://files.pythonhosted.org/packages/f2/1e/fbeb7af9210a67ac0f9c9bec0f8f4568497924e33137a3d5b48e1cf85f3f/aiohttp-3.14.1-cp314-cp314-win32.whl", hash = "sha256:a9875b46d910cff3ea2f5962f9d266b465459fe634e22556ab9bd6fc1192eea0", size = 457773, upload-time = "2026-06-07T21:08:46.168Z" }, - { url = "https://files.pythonhosted.org/packages/f0/2b/13e8d741a9ec5db7d900c060554cf8352ab85e44e2a4469ebb9d377bda17/aiohttp-3.14.1-cp314-cp314-win_amd64.whl", hash = "sha256:af8b4b81a960eeaf1234971ac3cd0ba5901f3cd42eae42a46b4d089a8b492719", size = 485001, upload-time = "2026-06-07T21:08:48.401Z" }, - { url = "https://files.pythonhosted.org/packages/df/30/491acfa2c4d6c3ff59c49a14fc1b50be3241e25bbb0c84c09e2da4d11395/aiohttp-3.14.1-cp314-cp314-win_arm64.whl", hash = "sha256:cf4491381b1b57425c315a56a439251b1bdac07b2275f19a8c44bc57744532ec", size = 453809, upload-time = "2026-06-07T21:08:50.7Z" }, - { url = "https://files.pythonhosted.org/packages/34/e3/19dbe1a1f4cc6230eb9e314de7fe68053b0992f9302b27d12141a0b5db53/aiohttp-3.14.1-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:819c054312f1af92947e6a55883d1b66feefab11531a7fc45e0fb9b63880b5c2", size = 793320, upload-time = "2026-06-07T21:08:52.775Z" }, - { url = "https://files.pythonhosted.org/packages/7f/20/1b7182219ba1b108430d6e4dc53d25ae02dcfcf5a045b33af4e8c5167527/aiohttp-3.14.1-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:10ee9c1753a8f706345b22496c79fbddb5be0599e0823f3738b1534058e25340", size = 529077, upload-time = "2026-06-07T21:08:55Z" }, - { url = "https://files.pythonhosted.org/packages/b9/c8/14ce60ec31a2e5f5274bb17d383a6f7a3aabca31ac04eee05585bbadab16/aiohttp-3.14.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:1601cc37baf5750ccacae618ec2daf020769581695550e3b654a911f859c563d", size = 532476, upload-time = "2026-06-07T21:08:57.176Z" }, - { url = "https://files.pythonhosted.org/packages/7e/02/9ac85e081e53da2e061b02fa7758fe0a12d17b8ce2d1f5e6c7cb76730328/aiohttp-3.14.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4d6e0ac9da31c9c04c84e1c0182ad8d6df35965a85cae29cd71d089621b3ae94", size = 1922347, upload-time = "2026-06-07T21:08:59.563Z" }, - { url = "https://files.pythonhosted.org/packages/c0/3e/d3ba07a0ab38b5389e10bec4362d21e10a4f667cba2d79ba30837b3a5059/aiohttp-3.14.1-cp314-cp314t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:9e8f2d660c350b3d0e259c7a7e3d9b7fc8b41210cbcc3d4a7076ff0a5e5c2fdc", size = 1786465, upload-time = "2026-06-07T21:09:01.909Z" }, - { url = "https://files.pythonhosted.org/packages/0b/cb/e2ee978a00cfb2df829704a69528b18154eba5939f45bc1efa8f33aee4c5/aiohttp-3.14.1-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:4691802dda97be727f79d86818acaad7eb8e9252626a1d6b519fedbb92d5e251", size = 1909423, upload-time = "2026-06-07T21:09:04.357Z" }, - { url = "https://files.pythonhosted.org/packages/73/5d/1430334858b1022b58ae50399a918f0bd6fe8fa7fa183598d657ff61e040/aiohttp-3.14.1-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:c389c482a7e9b9dc3ee2701ac46c4125297a3818875b9c305ddb603c04828fd1", size = 2001906, upload-time = "2026-06-07T21:09:06.722Z" }, - { url = "https://files.pythonhosted.org/packages/66/4e/560c7472d3d198a23aa5c8b19a5115bf6a9b77b7d3e4bb363da320430ad2/aiohttp-3.14.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:fc0cacab7ba4e56f0f81c82a98c09bed2f39c940107b03a34b168bdf7597edd3", size = 1877095, upload-time = "2026-06-07T21:09:09.011Z" }, - { url = "https://files.pythonhosted.org/packages/0d/f1/4745806578d447db4a784a8591e2dae3afdfc2bcb96f8f81271b13df6543/aiohttp-3.14.1-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:979ed4717f59b8bb12e3963378fa285d93d367e15bcd66c721311826d3c44a6c", size = 1676222, upload-time = "2026-06-07T21:09:11.461Z" }, - { url = "https://files.pythonhosted.org/packages/6a/c9/48255813cca749a229ef0ab476004ec623728ad79a9c0840616f6c076325/aiohttp-3.14.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:38e1e7daaea81df51c952e18483f323d878499a1e2bfe564790e0f9701d6f203", size = 1842922, upload-time = "2026-06-07T21:09:14.118Z" }, - { url = "https://files.pythonhosted.org/packages/3d/c0/bbd054e2bee909f529523a5af3891052606af5143c09f5f183ec3b234676/aiohttp-3.14.1-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:4132e72c608fe9fecb8f409113567605915b83e9bdd3ea56538d2f9cd35002f1", size = 1825035, upload-time = "2026-06-07T21:09:16.447Z" }, - { url = "https://files.pythonhosted.org/packages/a8/ae/90395d4376deceb74e09ec26b6adf7d2015a6f8802d6d84446af860fef04/aiohttp-3.14.1-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:eefd9cc9b6d4a2db5f00a26bc3e4f9acf71926a6ec557cd56c9c6f27c290b665", size = 1849512, upload-time = "2026-06-07T21:09:18.742Z" }, - { url = "https://files.pythonhosted.org/packages/93/bd/fb25f3049957553d4ce0ba6ae480aa2f592a6985497fca590837d16c1be0/aiohttp-3.14.1-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:b165790117eea512d7f3fb22f1f6dad3d55a7189571993eb015591c1401276d1", size = 1668571, upload-time = "2026-06-07T21:09:21.458Z" }, - { url = "https://files.pythonhosted.org/packages/3f/22/7f73303d64dd567ff3addca90b556690ed1233a47b8f55d242fb90af3681/aiohttp-3.14.1-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:ed09c7eb1c391271c2ed0314a51903e72a3acb653d5ccfc264cdf3ef11f8269d", size = 1881159, upload-time = "2026-06-07T21:09:23.813Z" }, - { url = "https://files.pythonhosted.org/packages/44/be/0474c5a8b5640e1e4aa1923430a91f4151be82e511373fe764189b89aef5/aiohttp-3.14.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:99abd37084b82f5830c635fddd0b4993b9742a66eb746dacf433c8590e8f9e3c", size = 1841409, upload-time = "2026-06-07T21:09:26.207Z" }, - { url = "https://files.pythonhosted.org/packages/7b/3c/bb4a7cba26956cb3da4553cc2056cf67be5b5ff6e6d8fa4fbdff73bfb7ae/aiohttp-3.14.1-cp314-cp314t-win32.whl", hash = "sha256:47ddf841cdecc810749921d25606dee45857d12d2ad5ddb7b5bd7eab12e4b365", size = 494166, upload-time = "2026-06-07T21:09:28.505Z" }, - { url = "https://files.pythonhosted.org/packages/8a/84/ec80c2c1f66a952555a9f86df6b33af65108a6febfa0471b69013a12f807/aiohttp-3.14.1-cp314-cp314t-win_amd64.whl", hash = "sha256:5e78b522b7a6e27e0b25d19b247b75039ac4c94f99823e3c9e53ae1603a9f7e9", size = 530255, upload-time = "2026-06-07T21:09:30.843Z" }, - { url = "https://files.pythonhosted.org/packages/2a/71/6e22be134a4061ada85a92951b842f2657f17d926b727f3f94c56ae963d6/aiohttp-3.14.1-cp314-cp314t-win_arm64.whl", hash = "sha256:90d53f1609c29ccc2193945ef732428382a28f78d0456ae4d3daf0d48b74f0f6", size = 469640, upload-time = "2026-06-07T21:09:33.028Z" }, +sdist = { url = "https://files.pythonhosted.org/packages/58/d9/22ce5786ac0c1653ae8b6c23bded02c1686d11f0dbb45b31ce128e0df985/aiohttp-3.14.3.tar.gz", hash = "sha256:9491196535a88924a60afd5b5f434b5b203b6cc616250878dbdb223a8f7844bc", size = 7971213, upload-time = "2026-07-23T01:57:27.037Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/18/d4/eb96299230e20acf2efae207cb8d69051f1f68e357e5ea5e479bf6fb097a/aiohttp-3.14.3-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:39aded8c7f3b935b54aab1d8d73c70ec0ee2d3ec3b943e0e86611bc150ba47f5", size = 754690, upload-time = "2026-07-23T01:53:47.332Z" }, + { url = "https://files.pythonhosted.org/packages/88/11/e7a70a209eb9a067c0d3212b518a0134e3484f5178c7533878b6b514d469/aiohttp-3.14.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:5bcb6ff3fdab1258a192679ff1a05d44f59626430aa05cd1a9d2447423599228", size = 509484, upload-time = "2026-07-23T01:53:51.159Z" }, + { url = "https://files.pythonhosted.org/packages/30/07/4bbc222cc8dbe31d4c3e8a5baad2286e4d42026ac0c570027b89afce6344/aiohttp-3.14.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:617105e2c3018ee38d0c8ce5ee3c84f621a6d8b9f723202aacaff28449ca91ee", size = 511949, upload-time = "2026-07-23T01:53:55.083Z" }, + { url = "https://files.pythonhosted.org/packages/54/b9/42e74c46b7b7c794b995bbc1f573fb48950c38b19d8600c62a6804ee2d67/aiohttp-3.14.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f631fe87a6f30df5fbe6d79640b25e4cffb38c31c7fb6f10871517b84b0f8c1a", size = 1765282, upload-time = "2026-07-23T01:53:59.662Z" }, + { url = "https://files.pythonhosted.org/packages/6b/ed/62bc4d74363ad346d518e0720363a949f63e2e23439a79eb5813d4d29bb3/aiohttp-3.14.3-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:a94dbaae5ae27bd849c93570669bff91e0510f33a80805738e3de72a7be0447b", size = 1741511, upload-time = "2026-07-23T01:54:04.063Z" }, + { url = "https://files.pythonhosted.org/packages/d0/9f/181e8a8bc79e47d13c7fc4540bd7a3b729d9505609c61f392a8dd2fbfe55/aiohttp-3.14.3-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:8f2f1c4c032c7cedd7d8da6f54c97b70266c6570c3108d3fdffee7188bb70529", size = 1810680, upload-time = "2026-07-23T01:54:09.882Z" }, + { url = "https://files.pythonhosted.org/packages/5c/9a/dec94d6ad694552fe3424e3f1928d7a606a5d9d9433a04e7ecdd9d38ae7f/aiohttp-3.14.3-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:ea05e1f97ceea523942d9b2a7d7c0359d781d683d6b043f5943a602b14da4787", size = 1905646, upload-time = "2026-07-23T01:54:13.475Z" }, + { url = "https://files.pythonhosted.org/packages/52/b7/7cd31f29d6055bd711ae6e669367fba6f5ae9de463910a793e30556a8db7/aiohttp-3.14.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:543906c127fb1d929b95076db19b83fa2d46751006ff1e23b093aa5ac4d8db42", size = 1792122, upload-time = "2026-07-23T01:54:15.752Z" }, + { url = "https://files.pythonhosted.org/packages/66/73/10b1ef93afa61f4963c746257b70ced619cf31a4798671de5fdb2608501d/aiohttp-3.14.3-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:0a5ff2dfbb9ce645fa5b8ef3e02c6c0b9cc3f6030ff863d0c51fffc50cb5541b", size = 1591127, upload-time = "2026-07-23T01:54:19.489Z" }, + { url = "https://files.pythonhosted.org/packages/49/ed/3b203fa6de1b338c14acdc06bf6ca9b043b7944f005966958c2ced932cde/aiohttp-3.14.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:041badb8f84396357c4d3ad26de6afd7a32b112f43d3c63045c0c8278cfd2043", size = 1725210, upload-time = "2026-07-23T01:54:24.129Z" }, + { url = "https://files.pythonhosted.org/packages/28/b7/1c2aab8c706436dcc28598452488ac9cd7c409da815237c28c27d58993e6/aiohttp-3.14.3-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:530125ee1163c4219af35dc3aa1206e541e7b31b6efc1a3f93b70a136f65d427", size = 1764848, upload-time = "2026-07-23T01:54:27.973Z" }, + { url = "https://files.pythonhosted.org/packages/54/50/94c28f08b131c4bf10984ea2c7a536c9920608bb2d6e7f95642c30cc87b7/aiohttp-3.14.3-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:c8653fd547c93a61aadc612007790f5555cdd18946fa48cf45e26d8ea4ea473d", size = 1777102, upload-time = "2026-07-23T01:54:31.775Z" }, + { url = "https://files.pythonhosted.org/packages/13/d4/e7d09ba7d345fb2d74440fd2fa033c5e079fac05552927705986f41a364f/aiohttp-3.14.3-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:89176250f686cb9853c0fb7ead90e639e915b84a6f43eedc2a4e7ec21f1037f0", size = 1580205, upload-time = "2026-07-23T01:54:34.518Z" }, + { url = "https://files.pythonhosted.org/packages/a3/84/072a91d68e1e1eb587985b54baab94221277f877e8ef274fc213a0ceae28/aiohttp-3.14.3-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:3a26434dafe408229ff3403458ca58de24fb51936504decac49ce6755f77e59d", size = 1797219, upload-time = "2026-07-23T01:54:36.995Z" }, + { url = "https://files.pythonhosted.org/packages/e0/eb/aad34e897e668424d6e995da5dff8a4a09af93363d3392488772957a63aa/aiohttp-3.14.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:d1558173930a5a8d3069cee5c92fc91c87c4dbcb099debbb3622053717145a19", size = 1768629, upload-time = "2026-07-23T01:54:40.103Z" }, + { url = "https://files.pythonhosted.org/packages/b6/2b/6bb88ddba0fecd9122aa3ebcad25996cf6c083a4a7040dbb3a4f97972af6/aiohttp-3.14.3-cp312-cp312-win32.whl", hash = "sha256:16100ad3ab8d649fdfbee87602d9d2dcdca9df0b9eda8a1b5fdc0d41f96da559", size = 451481, upload-time = "2026-07-23T01:54:42.547Z" }, + { url = "https://files.pythonhosted.org/packages/76/9b/f2f8f108da17ecef2cc3efc424e8b7ad3782b1a8360f7b8eae8ced84f6ea/aiohttp-3.14.3-cp312-cp312-win_amd64.whl", hash = "sha256:33a2d7c28d33797a2e99923dffa63f83d908a19b6bf26cfe80fa790aa5e1a75a", size = 476845, upload-time = "2026-07-23T01:54:44.853Z" }, + { url = "https://files.pythonhosted.org/packages/3e/44/28dac80a8941b604f4da10ce21097614ca1bf905ce93dca28d8d7de9c1e7/aiohttp-3.14.3-cp312-cp312-win_arm64.whl", hash = "sha256:362a3fd481769cac1a824514bcd86fda51c65e8fe6e051099e008fddde6db17c", size = 448050, upload-time = "2026-07-23T01:54:47.087Z" }, + { url = "https://files.pythonhosted.org/packages/57/be/5afd201cc0ab139029aadb75392efe85a293403d9dd3a3226161c21ce00c/aiohttp-3.14.3-cp313-cp313-android_21_arm64_v8a.whl", hash = "sha256:2e9878ae68e4a5f1c0abe4dd497dbc3d51946f5837b56759e2a02e78fa90ef86", size = 506269, upload-time = "2026-07-23T01:54:49.075Z" }, + { url = "https://files.pythonhosted.org/packages/22/09/dec8189d62b45ade009f6792a2264b942a90cb88aeaf181239933cd72c3c/aiohttp-3.14.3-cp313-cp313-android_21_x86_64.whl", hash = "sha256:f3d2669fe7dec7fc359ecdb5984b29b50d85d5d00f8c1cb61de4f4a24ee42627", size = 515166, upload-time = "2026-07-23T01:54:51.894Z" }, + { url = "https://files.pythonhosted.org/packages/28/24/2854869d29ed8a8b19d74f9ec6629515f7e04d02dd329d9d179201e58e47/aiohttp-3.14.3-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:cc7cb243a68167172f48c1fd43cee91ec4b1d40cefd190edd43369d1a6bc9c82", size = 486263, upload-time = "2026-07-23T01:54:54.223Z" }, + { url = "https://files.pythonhosted.org/packages/d4/dd/57187c8be2a35aea65eaee3bd2c3dcbbcf0204f5106c89637e3610380cd1/aiohttp-3.14.3-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:78253b573e6ffab5028924fc98bc281aae05445969982a10864bc360dea2016c", size = 492299, upload-time = "2026-07-23T01:54:56.236Z" }, + { url = "https://files.pythonhosted.org/packages/b9/11/06ae6ed8f0d414edf4068861e233d8fe23ee699bfd4b3ceb8663db948a62/aiohttp-3.14.3-cp313-cp313-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:7041d52c3a7fa20c9e8c182b534704abb19502c8bdcbde7ab23bfda6f642394f", size = 502235, upload-time = "2026-07-23T01:54:58.377Z" }, + { url = "https://files.pythonhosted.org/packages/7e/a3/559639c34a345d2cf7c52dff6838119f2eaf29eb508227b5b83f573af813/aiohttp-3.14.3-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:ac74facc01463f138b0da5580329cfcc82818dea5656e83ddcd11268fc12ff80", size = 750883, upload-time = "2026-07-23T01:55:00.65Z" }, + { url = "https://files.pythonhosted.org/packages/91/cd/41e131f13afd1e7b0172a9d9eda085ef90eb8439f41f0d279db81ed3ae60/aiohttp-3.14.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:d6218d92e450824e9b4881f44e8c09f1853b490f9a64130801024a4793b1b3b0", size = 508473, upload-time = "2026-07-23T01:55:02.945Z" }, + { url = "https://files.pythonhosted.org/packages/bc/6b/e7f13410d391c6e55b4c007a8de024355389d7d459e3d64c42b2d33617e5/aiohttp-3.14.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:11fb37ef075669eee52ab1928fbf6e1741fada40409fa309ebde9607a962aebf", size = 509190, upload-time = "2026-07-23T01:55:05.173Z" }, + { url = "https://files.pythonhosted.org/packages/97/21/6464573e53d69672cc1eada3e5c5cb2d2efa82701e8305a0f2047a576967/aiohttp-3.14.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:55bdcc472aafe2de4a253045cc128007a64f1e0264fb675791e132ea5edaa3bd", size = 1761478, upload-time = "2026-07-23T01:55:07.383Z" }, + { url = "https://files.pythonhosted.org/packages/1a/81/d217043a4c17fbce360905e3b2bdd20139ebc9a2de836d035d179c4da006/aiohttp-3.14.3-cp313-cp313-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:c39846c3aad97a8530c89d7a3869a8f8e9e3762c6ac0504481e5c80948f7e807", size = 1735092, upload-time = "2026-07-23T01:55:09.803Z" }, + { url = "https://files.pythonhosted.org/packages/a1/66/e13a02d0eeb1a9a502402a977abb4e4abff9fe4051c26f80558c57a7c975/aiohttp-3.14.3-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:5895ef58c4620afe02fa16044f023dc4dafec08158f9d08874a46a7dbc0341b8", size = 1800546, upload-time = "2026-07-23T01:55:12.012Z" }, + { url = "https://files.pythonhosted.org/packages/26/5e/57d42fca1d18cb5acc1cad945d017fabc5d6ae71d8a08ad66be8dc3ee544/aiohttp-3.14.3-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:fa9467a8113aa69d3d7c55a70ef0b7c636010a40993f3df9d9d0d73b3eb7ef24", size = 1895250, upload-time = "2026-07-23T01:55:14.357Z" }, + { url = "https://files.pythonhosted.org/packages/ca/1c/7da8d08e74d56f00070822f9638ff3f1c563f8ad87d1efa996c87bfc8644/aiohttp-3.14.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d7d2deec16eeedf55f2c7cf75b521ea3856a5177e123844f8fd0f114ce252cb5", size = 1789289, upload-time = "2026-07-23T01:55:16.668Z" }, + { url = "https://files.pythonhosted.org/packages/cd/0f/cf16bcf56896981c1a0319f5d5db9337994b5165730c48a8fa07e9b34be6/aiohttp-3.14.3-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:dd54d0e8717de95939766febac482ac0474d8ac3b048115f9f2b1d23a16e7db4", size = 1586706, upload-time = "2026-07-23T01:55:18.913Z" }, + { url = "https://files.pythonhosted.org/packages/fe/6f/76eac12a7f2480e1e304f842efdb07db33256b0d9165b866b6ef0806c202/aiohttp-3.14.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:df82f3787c940c94986b34222d59c9e38843fba85139f36e85255a82ad5355a9", size = 1724652, upload-time = "2026-07-23T01:55:21.296Z" }, + { url = "https://files.pythonhosted.org/packages/39/b6/19c8c592baeeb94b75f966547d40c02ac7590902306ec5863d5c027cf506/aiohttp-3.14.3-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:42a67efc36300d052fb4508a53e8b6901b9284b599ae63945c377569c5fcc1e1", size = 1756239, upload-time = "2026-07-23T01:55:23.705Z" }, + { url = "https://files.pythonhosted.org/packages/dc/c9/4e9383150296f97f873b680c4de8fb2cd88608fb9f48c79edcb111611abc/aiohttp-3.14.3-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:7a75aa63cbf9b21cfaf60dc2657e19df2c2867d91707d653fee171ffeedd1371", size = 1769161, upload-time = "2026-07-23T01:55:26.082Z" }, + { url = "https://files.pythonhosted.org/packages/aa/1e/147bdc6cc5de5f3ab011be8bf5d6e786633249f22c20bae06f85e45f5387/aiohttp-3.14.3-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:e92eb8acc45eb6a9f4935071a77edf5b85cc6f8dfad5cd99e97653c26593cdde", size = 1578759, upload-time = "2026-07-23T01:55:28.846Z" }, + { url = "https://files.pythonhosted.org/packages/fd/31/78388a9d6040ece2e11df62ea229a822cf5e52d238374b220ae9975b2623/aiohttp-3.14.3-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:b014a6ed7cf912e787149fdc529166d3ceabac23f26efeea3158c9aba2354e7e", size = 1792025, upload-time = "2026-07-23T01:55:31.457Z" }, + { url = "https://files.pythonhosted.org/packages/03/51/a3d29fdf2c25d796746af8ad6fe56a45d6256c38b0a8a2ed752e1160b3a2/aiohttp-3.14.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:3d4f72af88ac2474bb5bca640030320e3d38a0163a1d7533500e87be458eef71", size = 1768477, upload-time = "2026-07-23T01:55:33.87Z" }, + { url = "https://files.pythonhosted.org/packages/29/a6/442e18b5afeade534d877a2dc3c3e392aff8d49787890b0cf84790410267/aiohttp-3.14.3-cp313-cp313-win32.whl", hash = "sha256:5f08ec777f35ee70720233b8b9811d3bb5d728137f30ac91b7457709c3261ac0", size = 451069, upload-time = "2026-07-23T01:55:36.121Z" }, + { url = "https://files.pythonhosted.org/packages/9d/69/3d876ac02659f271cf7f6769f14a8e3de5b6e888ed8b5a7e998086a4cec8/aiohttp-3.14.3-cp313-cp313-win_amd64.whl", hash = "sha256:dff9461ec275f22135650d5ba4b4931a11f3958df7dfbb8db630000d4dee0883", size = 476518, upload-time = "2026-07-23T01:55:38.303Z" }, + { url = "https://files.pythonhosted.org/packages/b2/0e/50d6e6471cd31edce8b282bdec59375a3a69124d8a989a0b1313355cae52/aiohttp-3.14.3-cp313-cp313-win_arm64.whl", hash = "sha256:ddcac3c6b382e81f1dd0499199d4136b877beb4cb5ef770bbbfba56c4b8f55d2", size = 447676, upload-time = "2026-07-23T01:55:40.451Z" }, + { url = "https://files.pythonhosted.org/packages/c8/20/887fdcf832326571b370ffc347b3e70abe101096f3720126aac161b1d872/aiohttp-3.14.3-cp314-cp314-android_24_arm64_v8a.whl", hash = "sha256:49f7325beb0f85ef4aef5f48f490269575f83e6e2acad00a1d80b807eb027062", size = 509067, upload-time = "2026-07-23T01:55:42.618Z" }, + { url = "https://files.pythonhosted.org/packages/ad/a3/92cec936f78cc4bf0fa5554ebe593b73459d94e3c62303e1902a4cccb6f7/aiohttp-3.14.3-cp314-cp314-android_24_x86_64.whl", hash = "sha256:e3be98a7c30b8c25d573dafba7171d66dfb05ee6a9070fc46535464ff97700a6", size = 514774, upload-time = "2026-07-23T01:55:44.937Z" }, + { url = "https://files.pythonhosted.org/packages/29/ba/2a0c38df3fc557620b6a5acd98364af050053b6285b4dc7ee74100c63c18/aiohttp-3.14.3-cp314-cp314-ios_13_0_arm64_iphoneos.whl", hash = "sha256:614c61d478b83953e261d02bb2df750f17227cd33ef8002945bf5aebbde21919", size = 488134, upload-time = "2026-07-23T01:55:47.135Z" }, + { url = "https://files.pythonhosted.org/packages/48/d6/d51b7d4bf309af3693940d8ffd2b9ed0b682434ef85959b7c9c137f60cf8/aiohttp-3.14.3-cp314-cp314-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:1caa7b0d05f3e3a36f87788c59e970a7ee1cefcfcbb924a9f138c4a6551c9cb7", size = 494201, upload-time = "2026-07-23T01:55:49.451Z" }, + { url = "https://files.pythonhosted.org/packages/3f/5a/8f624384e5f1efabb5229b94157eb966b021e97bdb188c62860c2ae243c2/aiohttp-3.14.3-cp314-cp314-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:dfa68deb2a443bdaa3ea5297b0699c1464f08aef3812b486d1348eee61b07dc0", size = 502766, upload-time = "2026-07-23T01:55:51.656Z" }, + { url = "https://files.pythonhosted.org/packages/a6/26/4ff0164370deec18fb19254ee4ab10b7a73304ac0c860b13f5f84663759b/aiohttp-3.14.3-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:e72ee89e28d907a18f46959b4eb0bb06701cc7f8cf4366e00029e2ccfaaf5924", size = 756557, upload-time = "2026-07-23T01:55:53.964Z" }, + { url = "https://files.pythonhosted.org/packages/97/a3/7056b86dc0d9ec709ea9777eae3b0161428f943372f8b98c01c11593b682/aiohttp-3.14.3-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:ad4c8b7488d745d2ca4838ebd8ae5ba9b56341d30b1da43640e4ce87f9f49646", size = 510168, upload-time = "2026-07-23T01:55:56.22Z" }, + { url = "https://files.pythonhosted.org/packages/85/ed/0357a015892fd68058bf2d39d3fd1958e459b997a7db30aaa6aaa434ae96/aiohttp-3.14.3-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:db332af25642007330fca8be5c4d194caf2bea7a7fc84415aff3497af5dfee6b", size = 512957, upload-time = "2026-07-23T01:55:58.437Z" }, + { url = "https://files.pythonhosted.org/packages/47/d1/8aba53f15ccb2238405f5e9d30e2a8ca44f93878c26e7165ade00d374b1c/aiohttp-3.14.3-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:25bd2708db6bdf6a6630dd37bdcdfcb47c4434d22ac69c64665b802910140b30", size = 1750149, upload-time = "2026-07-23T01:56:00.856Z" }, + { url = "https://files.pythonhosted.org/packages/49/bd/40c3fee327529284375c6701cbb0fa4600cc2e8432af1378f897e2ef7d3a/aiohttp-3.14.3-cp314-cp314-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:cef89a58e628c4efcac3275c2d68083f82426dcdc89c1492a6f654f9f7ea6ab9", size = 1707685, upload-time = "2026-07-23T01:56:03.371Z" }, + { url = "https://files.pythonhosted.org/packages/2a/a3/ca0cc6724cca8114b05694abd916060758c79894c3aa5b012cdadc1bc28e/aiohttp-3.14.3-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:c23ec8ee9d5ab2f5421f9c7fffce208435607af27fd46d4a44e031954352838f", size = 1803911, upload-time = "2026-07-23T01:56:05.817Z" }, + { url = "https://files.pythonhosted.org/packages/95/b5/85b099c299c3ffd38ad9b3e43694c8a346934e4a30c88c4fd5a841234f77/aiohttp-3.14.3-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:e2667f0bbe7eb6c74eae5e9691441ad186e5845ca3cff63230fc09c4e7514f5d", size = 1876929, upload-time = "2026-07-23T01:56:08.413Z" }, + { url = "https://files.pythonhosted.org/packages/d5/b7/1da684a04175473fa4cddbf9a2f572e79514c3fd27a74597f43057d4f3da/aiohttp-3.14.3-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:18cb43369747b2ae007bd2655fb8e63a099c2ff1d207962943636dac989b3147", size = 1761112, upload-time = "2026-07-23T01:56:10.918Z" }, + { url = "https://files.pythonhosted.org/packages/d1/16/bc4b55e3e5cb175fd69c53c90d60d2f47797cb343da5106e23863dc4dba4/aiohttp-3.14.3-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:d77640cc618c1d99fc4f8589c0f24a730adfa54eb1e57ef7bf0c8dfb78da898c", size = 1583500, upload-time = "2026-07-23T01:56:13.613Z" }, + { url = "https://files.pythonhosted.org/packages/2a/e8/13a9d957a1ee40837f46aa30f0f4c657e673ad86a2e6362a9f9be20d26d9/aiohttp-3.14.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:53e5179d8abb5710f8e83ba207c41c8d1261fcffd4616500e15ca2b7a33be10a", size = 1713940, upload-time = "2026-07-23T01:56:15.969Z" }, + { url = "https://files.pythonhosted.org/packages/38/05/d33c680c1bcf1c7e130f9cbfc1fc02fe8bb0c4af2a94a53dd5fb56131e5c/aiohttp-3.14.3-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:cd817772b2fcf2b8c0905795318485f9ec16eae60b29feb7f4c77085311637f0", size = 1724413, upload-time = "2026-07-23T01:56:18.591Z" }, + { url = "https://files.pythonhosted.org/packages/85/1d/af798d306f7a74b6a632dbcabcf62a4c91391b7582d2a8c6d7712e2cc54e/aiohttp-3.14.3-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:4e3ac92d90e92773b2362d506068e9a948192bd553e743c5b2429e28527c8661", size = 1770748, upload-time = "2026-07-23T01:56:21.074Z" }, + { url = "https://files.pythonhosted.org/packages/a8/92/ad720d472556a995049206867765e9410969684f86ee09423ff9969044c1/aiohttp-3.14.3-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:3f42e9b78301f11c8f861746175d8b9c1ccef713fcad9eab396e2f6db8ed4a22", size = 1577564, upload-time = "2026-07-23T01:56:23.475Z" }, + { url = "https://files.pythonhosted.org/packages/60/ad/0ed7586cbef7a884e23a752fa2bb987a122e6a5dd50dab109258d0a95193/aiohttp-3.14.3-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:9d9edccfe496b476db5f398d97b865e9a6752bcf8aec4eef8390ce20fb64bb41", size = 1782080, upload-time = "2026-07-23T01:56:25.994Z" }, + { url = "https://files.pythonhosted.org/packages/97/ea/dbaed0d73e8a69aad653b045dab451c67c2454bb731a37b45a86593e9422/aiohttp-3.14.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:1c5ec8fb1bcc31a8466f74aaf26c345d5c386fa4bd08a3f0eb9c7a4a3fe8b5bf", size = 1745813, upload-time = "2026-07-23T01:56:28.604Z" }, + { url = "https://files.pythonhosted.org/packages/81/1b/6893d4bc57e434fc93a6c9217c637d967a0b651d989f6e3265179375754a/aiohttp-3.14.3-cp314-cp314-win32.whl", hash = "sha256:38901a84da3ce22249f6e860bf8f90d141bcab7da090cc398f8bb58c0e44b7da", size = 455872, upload-time = "2026-07-23T01:56:31.031Z" }, + { url = "https://files.pythonhosted.org/packages/f5/8b/c7baa1ba1eda4db6989baefe5de6d99834921b84ebd7918624febcb9f290/aiohttp-3.14.3-cp314-cp314-win_amd64.whl", hash = "sha256:8b3b60de05f3dcb6f6a00f818bb2ec781cee4de0645f59ccaf99b1d1823b6100", size = 481030, upload-time = "2026-07-23T01:56:33.365Z" }, + { url = "https://files.pythonhosted.org/packages/22/8c/c29d067df825a2df88ca432db848aa2fe8199598359cc06c12b09320cac9/aiohttp-3.14.3-cp314-cp314-win_arm64.whl", hash = "sha256:1576145bdceeb92382d899751e12743a3a5b8e460a841e3e50543859e54864dc", size = 453669, upload-time = "2026-07-23T01:56:35.731Z" }, + { url = "https://files.pythonhosted.org/packages/6a/a4/9c033beb355d39b6147980597ec9645e4729243f686ee4dc73945de72030/aiohttp-3.14.3-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:8800c996b01c2772a783e3e46f3e1abd5823029adca0df54231960de9bfefa5b", size = 791403, upload-time = "2026-07-23T01:56:37.972Z" }, + { url = "https://files.pythonhosted.org/packages/80/ca/87c32a0a7704583cfc49660bd817889bae5b830bf53b5dcb4e92145ac2da/aiohttp-3.14.3-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:ebe8e504f058fe91223351cecd2d9d6946c9d241bb0250d898ffbdf584cc72b0", size = 526413, upload-time = "2026-07-23T01:56:40.523Z" }, + { url = "https://files.pythonhosted.org/packages/9e/d8/8ec0e471248c500acdce2be3f46db8fb62b5eb60efef072529cc85ee1d26/aiohttp-3.14.3-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:30402d03a7c0ff52bce290b57e564e9079fd9d0cb545c8aba73f86a103162d2e", size = 532135, upload-time = "2026-07-23T01:56:42.876Z" }, + { url = "https://files.pythonhosted.org/packages/fe/45/f8919fd936e8b79fcd9bda7b6d8e62613462a713f4f17987fd7c34399142/aiohttp-3.14.3-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9fc7b5bfec6573f3ae844f457fdde5adeb713f8b8e4a81ad64fc207b49383716", size = 1922742, upload-time = "2026-07-23T01:56:45.528Z" }, + { url = "https://files.pythonhosted.org/packages/f6/ec/9ca76b28a27525b0cc53e20842e0228b022f301ce1f436b7d814b4aaf2df/aiohttp-3.14.3-cp314-cp314t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:8a5fd34f7f7410d1730d5c2ba873cacb2eed3fede366feb268a70ba22581ed8f", size = 1787371, upload-time = "2026-07-23T01:56:48.045Z" }, + { url = "https://files.pythonhosted.org/packages/b1/04/6acdbf17315f7b55f1937e3387acb89a3cddeb4995689553d064af8e92ab/aiohttp-3.14.3-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:270d3dace9ca2f10f0da5d8ebe519b7a310fc6112ed916e32df5866df0888553", size = 1912623, upload-time = "2026-07-23T01:56:50.605Z" }, + { url = "https://files.pythonhosted.org/packages/86/e6/438b0c79ca6f45eb9fd9817dd4c01a91919a38c0de5ee9e05e2b4dc0ece7/aiohttp-3.14.3-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:3ae5b3a59436d089b5395d910121a390feed4d00578eb95a0fd1a329fe963100", size = 2005515, upload-time = "2026-07-23T01:56:53.153Z" }, + { url = "https://files.pythonhosted.org/packages/bb/6b/62cbd6577758699525f5c712d1ddef57d9875fbab0ae8d5f5a202fd598f8/aiohttp-3.14.3-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:2498f0fe69ead802f9675beca44a7c21c62fdaa4ec5145ea1c3ad6edbee29f85", size = 1879906, upload-time = "2026-07-23T01:56:55.818Z" }, + { url = "https://files.pythonhosted.org/packages/00/95/18bcbf830a21dc3aae24d8f6b6feaf3db1d2090242d00a7868db2ffb0b67/aiohttp-3.14.3-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:a0dc483c00da8b673abbb367eb6f8d8f4bcec30eb58529ea13cb42e7fd2dfa33", size = 1675849, upload-time = "2026-07-23T01:56:58.861Z" }, + { url = "https://files.pythonhosted.org/packages/a9/19/47f4968659c5e23606c3790c80fc624e691c153d036148449ee84d31b287/aiohttp-3.14.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:c7d3a97c678d34fc5b59da671ee9cd630096ddc643e7b5a30d54a2a6f3574d3f", size = 1843496, upload-time = "2026-07-23T01:57:01.591Z" }, + { url = "https://files.pythonhosted.org/packages/64/af/38c33c4dd82fddcb4e56c4653b6f1072a8edbc6b7fa15809f14932c41e2d/aiohttp-3.14.3-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:f8fb78a83c9e5f741ca3a68cfb455c1f5bb83b4e7249a3848b3cd78d0a8563b0", size = 1827746, upload-time = "2026-07-23T01:57:05.131Z" }, + { url = "https://files.pythonhosted.org/packages/a1/9d/0537cda4885ac8f5b7053d164dd06312f4c483a4edcb8ee5b8aaf2a989bf/aiohttp-3.14.3-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:74ab5b6a9fb13e873e5a90946588baecaf488745e1db1a4a5c433f971f035098", size = 1853810, upload-time = "2026-07-23T01:57:08.043Z" }, + { url = "https://files.pythonhosted.org/packages/19/fe/26f9c5e6458385aa86497836b0dea6fb2f027827d63f37c7856cce9286ee/aiohttp-3.14.3-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:bd52f811e65f6fb634b1047159657c98f52b407f8efec907bcfc09da9a4c0a25", size = 1668895, upload-time = "2026-07-23T01:57:10.837Z" }, + { url = "https://files.pythonhosted.org/packages/ec/4c/618b1db9b9ba079b8875d2cdf78e7c4a3bf72903bd5850fee7dd9544600a/aiohttp-3.14.3-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:f0f177d1b195b9e06376cfd7d308d8a1b920909a609d03ac82a8c73bbb16d3b9", size = 1883833, upload-time = "2026-07-23T01:57:13.672Z" }, + { url = "https://files.pythonhosted.org/packages/94/c6/bd959bd1e4771f9fd944e9e436224c48c77b018b73b519b5aad346335bcc/aiohttp-3.14.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:498c6c623134f8e09a3c4e60bcd607a0b4590dd7dbf08dd40851b27cbb520ccb", size = 1844251, upload-time = "2026-07-23T01:57:16.593Z" }, + { url = "https://files.pythonhosted.org/packages/5e/19/08d41839658bdd44a0ed2480f3891705ecb487ce28c0dde62c9040c997e0/aiohttp-3.14.3-cp314-cp314t-win32.whl", hash = "sha256:b304db572b4368edd8dda8a2274f73156fe15558fca4a917cb8a09fc47af5963", size = 474180, upload-time = "2026-07-23T01:57:19.306Z" }, + { url = "https://files.pythonhosted.org/packages/99/5d/3cd6ef0a2b2851f7ab913b5b079334781bd50ff56a323e4454063377a080/aiohttp-3.14.3-cp314-cp314t-win_amd64.whl", hash = "sha256:b20032766aedf6261c7a566585a40867d092ac03a0d81592d5370ef9b054f99b", size = 500528, upload-time = "2026-07-23T01:57:21.762Z" }, + { url = "https://files.pythonhosted.org/packages/a4/37/cfd1ed540a4d318da025590d96b728e63713c09e9377950fc655dadeb856/aiohttp-3.14.3-cp314-cp314t-win_arm64.whl", hash = "sha256:2e1161602f45a54de2ce0905243a95f58cb42dcd378402f3697f5e0b21e9d2e7", size = 469280, upload-time = "2026-07-23T01:57:24.241Z" }, ] [[package]] @@ -584,55 +584,52 @@ wheels = [ [[package]] name = "cryptography" -version = "48.0.1" +version = "50.0.1" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "cffi", marker = "platform_python_implementation != 'PyPy'" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/12/45/870e7f4bef50e5f53b9f51d4428aee5290eedf58ba443f16b1ebb7ab8e66/cryptography-48.0.1.tar.gz", hash = "sha256:266f4ee051abb2f725b74ef8072b521ce1feacf685a3364fa6a6b45548db791a", size = 832989, upload-time = "2026-06-09T22:32:31.8Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/1b/bc/ee4137cbbe105652c0ee4252792b78fc8e7afa4b8e61d9d5dc05a7f45731/cryptography-48.0.1-cp311-abi3-macosx_10_9_universal2.whl", hash = "sha256:3e4a1a3232eef2e6c732827d5722db29a0cc8b27af2a4d865b094cf954be9ca1", size = 8008324, upload-time = "2026-06-09T22:31:00.702Z" }, - { url = "https://files.pythonhosted.org/packages/d5/85/6379d42181bfc713094f081360fc5784d6c816b599d45e7f082502d173ce/cryptography-48.0.1-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:32143b24adb918f078134e1e230f1eb8cc04886b92c28b5f0041aaf3e5699225", size = 4696243, upload-time = "2026-06-09T22:32:33.446Z" }, - { url = "https://files.pythonhosted.org/packages/9c/87/c85d147b53323c7eb4d850920c8901377323c2a0ff8d79c262d4fee89aa2/cryptography-48.0.1-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:f0d27a5696721ef7a672b8c810f6aded391058e0b9486e63e6d93baf765da691", size = 4713235, upload-time = "2026-06-09T22:31:40.141Z" }, - { url = "https://files.pythonhosted.org/packages/79/58/67cbf8cf1ee7c54b439ca07bbecf8362c07afc11a3724fea70f745784add/cryptography-48.0.1-cp311-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:eb86ce1af36fe65041b6db9a8bb064ee621a7e5fded0f80d475ec243477cd242", size = 4702323, upload-time = "2026-06-09T22:31:42.191Z" }, - { url = "https://files.pythonhosted.org/packages/89/c6/24266ac10c47f6cd2a865f4446062b466da1d1f10b27189eac00e61bf0c9/cryptography-48.0.1-cp311-abi3-manylinux_2_28_ppc64le.whl", hash = "sha256:b024e784ad6c077ee0147b35ea9cbfc1e34e1fd4c1dcca214c2794d73a12df08", size = 5300085, upload-time = "2026-06-09T22:31:58.703Z" }, - { url = "https://files.pythonhosted.org/packages/d2/bb/cc4b78784f97efc8c5874c2a9743708d172be6663024b34a0467885ae0c8/cryptography-48.0.1-cp311-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:3752f2dbc8f07a30aad2932c986cea495b03bb554887828225da104f732852b6", size = 4746137, upload-time = "2026-06-09T22:31:31.01Z" }, - { url = "https://files.pythonhosted.org/packages/1f/52/0c44de3f5267f8fbe8e835138017522a333436166e406f0db9b9e6e3033f/cryptography-48.0.1-cp311-abi3-manylinux_2_31_armv7l.whl", hash = "sha256:bd81490cd5801d755cf97bb68ac191f14b708470b1c7cf4580f669b9c9264cd8", size = 4333867, upload-time = "2026-06-09T22:32:28.096Z" }, - { url = "https://files.pythonhosted.org/packages/9a/2e/772d7adbfa931537bc401640b7cac9976bff689bda187833e5d63b428e49/cryptography-48.0.1-cp311-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:66fd0771e7b9c6dcd44cf1120690d2338d16d72795cf40cae2786a39eba65429", size = 4701805, upload-time = "2026-06-09T22:31:38.284Z" }, - { url = "https://files.pythonhosted.org/packages/f8/a3/b06844f303873493c963caf581c04df31c7035e0c1b0f02c4814d319ec80/cryptography-48.0.1-cp311-abi3-manylinux_2_34_ppc64le.whl", hash = "sha256:3fd2ca57062b241c856670b073487d2e86c4637937ca5601e48f97bf8e11fc8f", size = 5258461, upload-time = "2026-06-09T22:31:04.187Z" }, - { url = "https://files.pythonhosted.org/packages/9f/13/8b765e2e12b07c74941caadb9d1c8fdc006c4dfbf2b8f2d610519758954d/cryptography-48.0.1-cp311-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:0ee6ea481db1ab889cba043ec1eda17bb9c1ea79db6722f779c3667f9f70322f", size = 4745488, upload-time = "2026-06-09T22:32:30.07Z" }, - { url = "https://files.pythonhosted.org/packages/2e/aa/48972bce55049b32a94f4907eda4d75fa385aad8a39506cc2fc72196ecf0/cryptography-48.0.1-cp311-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:f2ceef93cb096aa3c4cc4b5c94ca6131f9196d28c64d6111533402a9b2054d41", size = 4830256, upload-time = "2026-06-09T22:31:43.868Z" }, - { url = "https://files.pythonhosted.org/packages/47/a2/e5079a032fb85cf6005046ca92bbd78b0c82dad2b5751ab8c311659da06f/cryptography-48.0.1-cp311-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:9bd3f92d76217892b15df84ca256c2c113d386fdda7a7d8691aeeced976507c6", size = 4979117, upload-time = "2026-06-09T22:31:05.845Z" }, - { url = "https://files.pythonhosted.org/packages/b7/a0/8f50cae9c74e718ed769d63ed5c74bd0ea830c9550a74629cebd1b9c7bc7/cryptography-48.0.1-cp311-abi3-win32.whl", hash = "sha256:b9a32b876490d66c8bcc9963ef220199569748434ab01a9d6aaeabf88e7f5158", size = 3304154, upload-time = "2026-06-09T22:32:16.845Z" }, - { url = "https://files.pythonhosted.org/packages/c5/69/0572c77dbace6fef72f33755bd52ea399c71367250d366237f8691826b9e/cryptography-48.0.1-cp311-abi3-win_amd64.whl", hash = "sha256:39489bfca54c7a1f6b297efcd8bc608ab92d16c4ca631b0cad4da46724588b24", size = 3817138, upload-time = "2026-06-09T22:32:00.388Z" }, - { url = "https://files.pythonhosted.org/packages/42/06/3e768b4c3bc78201583fa35a0e18f640dd782ff41afba88f8545481a8874/cryptography-48.0.1-cp314-cp314t-macosx_10_9_universal2.whl", hash = "sha256:f817adc181390bd54f2f700107a7419040fb7c1bdf2fc26f36551a06a68c3345", size = 7989830, upload-time = "2026-06-09T22:31:07.8Z" }, - { url = "https://files.pythonhosted.org/packages/8a/13/6476736484b94041110c8340a3eb63962fea4975baea8cb4a512adb44d4d/cryptography-48.0.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:d5d30989c6917b478b5817902e85fddaea2261efa8648383d965381ccb9e1ac4", size = 4689201, upload-time = "2026-06-09T22:31:09.745Z" }, - { url = "https://files.pythonhosted.org/packages/79/62/65a87f34d2a431546e2509b85d55e8c90df86d668f6731da64d538512ac2/cryptography-48.0.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:df637c05205ea7c1d7fbcbe54bbfea648a52951155f997af13d895d0ecc96991", size = 4702822, upload-time = "2026-06-09T22:32:24.409Z" }, - { url = "https://files.pythonhosted.org/packages/7f/59/810b5204b0a9b10f4b6bc06bd551a8b609803cd931806bc3b71884b225e5/cryptography-48.0.1-cp314-cp314t-manylinux_2_28_aarch64.whl", hash = "sha256:869c3b8a53bfe27147832df48b32adadf558249d50e76cb3769d40e986b13265", size = 4694875, upload-time = "2026-06-09T22:32:08.737Z" }, - { url = "https://files.pythonhosted.org/packages/24/dc/d8ca05ffea724eec6d232ea6f18e74c269eb6bdfdcc9bfba689790d1325f/cryptography-48.0.1-cp314-cp314t-manylinux_2_28_ppc64le.whl", hash = "sha256:e361afba8918070d376df76f408a4f67fec0ee9cff81a99e48fe9a233ef59e17", size = 5290385, upload-time = "2026-06-09T22:31:15.212Z" }, - { url = "https://files.pythonhosted.org/packages/03/8c/3be6cb4da181f5bb6c19cf560c2359d60644a6b5fc5b57854e528f47b296/cryptography-48.0.1-cp314-cp314t-manylinux_2_28_x86_64.whl", hash = "sha256:d069066deead00ac7f090be101be875a06855908f7ec004c27b8fefb4acfb411", size = 4737082, upload-time = "2026-06-09T22:32:22.66Z" }, - { url = "https://files.pythonhosted.org/packages/aa/f6/d5f60a5a1434dbfd949e227fd0065d194c7e6b6ac526b17f5c06152b8231/cryptography-48.0.1-cp314-cp314t-manylinux_2_31_armv7l.whl", hash = "sha256:09f73a725d582cef64b91281a322cd798d14a33b2b6f2b7ad9531dc336d84c02", size = 4325328, upload-time = "2026-06-09T22:32:10.777Z" }, - { url = "https://files.pythonhosted.org/packages/17/b7/ba75dd947a14b6ad907b01ae8f6b5b348cdd1b48142f0063dee9e20c1d9d/cryptography-48.0.1-cp314-cp314t-manylinux_2_34_aarch64.whl", hash = "sha256:15254441469dd6bf027039453288e2072124f8b6603563f5d759e1c9b69273fa", size = 4694530, upload-time = "2026-06-09T22:31:53.105Z" }, - { url = "https://files.pythonhosted.org/packages/62/29/50d6b9e8aff12d8b67afaeb3569335e32dc83a5723e3bbded24fdac9f809/cryptography-48.0.1-cp314-cp314t-manylinux_2_34_ppc64le.whl", hash = "sha256:8ace4507d1e6533c125f4fac754f8bb8b6a74c08e92179dabd7e16571a3efbf3", size = 5245046, upload-time = "2026-06-09T22:31:25.774Z" }, - { url = "https://files.pythonhosted.org/packages/9f/04/618f4115cfc0add0838c82507aa18a346089428da8653ad38b3ff36f5cb3/cryptography-48.0.1-cp314-cp314t-manylinux_2_34_x86_64.whl", hash = "sha256:b4e391975f038e66432328639620a4aff2d307513b004f1ca06d6225bced815c", size = 4736660, upload-time = "2026-06-09T22:32:12.676Z" }, - { url = "https://files.pythonhosted.org/packages/24/9c/06e062462a0de28a3b3911322eded4c16deb9f441b1b7575d3dc59488ab5/cryptography-48.0.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:42fcd8e26fe555d9b3577a135f5091fefa0aa4e99129c23fb56787a1bd4ada72", size = 4822229, upload-time = "2026-06-09T22:31:17.062Z" }, - { url = "https://files.pythonhosted.org/packages/f4/be/0561971eaaee4b8a0e7d5113c536921063ab91aaf23278ac374eaf881e11/cryptography-48.0.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:c1400da5e32a43253392277eac7490a60e497d810a63dd5608d71bbd7af507c9", size = 4966364, upload-time = "2026-06-09T22:31:32.842Z" }, - { url = "https://files.pythonhosted.org/packages/a4/27/728c77876f12b000820b69ae490f3c4083775e79e07827e9e60be07ad209/cryptography-48.0.1-cp314-cp314t-win32.whl", hash = "sha256:0df56b056bc17c1b7d6821dfa65216e62bd232d8ab05eb3db44e71d235651471", size = 3278498, upload-time = "2026-06-09T22:31:29.154Z" }, - { url = "https://files.pythonhosted.org/packages/06/e3/79a612c6d7b1e6ee0edd43633d53035bec2cfb78c82b76f7864f39e36f34/cryptography-48.0.1-cp314-cp314t-win_amd64.whl", hash = "sha256:9de21387aa95e2a895823d0745b430bed4f33503ba9ab5e0b5311f33e37d66d2", size = 3798790, upload-time = "2026-06-09T22:31:56.697Z" }, - { url = "https://files.pythonhosted.org/packages/ca/6c/00fa2a95997164c8b2072ce327c23d4ab20809ccc323ea5fab91e53a4bba/cryptography-48.0.1-cp39-abi3-macosx_10_9_universal2.whl", hash = "sha256:4fdc69f8e4316bcf0c8c8ec1f26f285d12e8142d88d96c876a59a03be3f6ae67", size = 7987408, upload-time = "2026-06-09T22:32:20.777Z" }, - { url = "https://files.pythonhosted.org/packages/b0/d9/45f309a7e4e5f3f8f121d6d3be9e94024a7726ec598d6e08ae04edb2f04d/cryptography-48.0.1-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:48fe40804d4caa2288f24e70ca8c64c42dd826da0ad7e4f1b41b2128d679e6c8", size = 4690196, upload-time = "2026-06-09T22:31:54.74Z" }, - { url = "https://files.pythonhosted.org/packages/5f/9f/a1bc8bcc798811b8527eb374bbccf30a3f3e806829d967118222bf1125eb/cryptography-48.0.1-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:86be3b1b0b6bf09482fb50a979c508d2950ed95f5621ec77f4e385962006b83a", size = 4696782, upload-time = "2026-06-09T22:31:45.615Z" }, - { url = "https://files.pythonhosted.org/packages/66/c2/81a4fb4e4373c500bb526bc337ac5719dd31dd15b970b84a238168c6aa08/cryptography-48.0.1-cp39-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:4ab0a343c807bbcd90c971cd1ecf072937cd01847a9e002bef88fb47ac6be577", size = 4696618, upload-time = "2026-06-09T22:31:11.564Z" }, - { url = "https://files.pythonhosted.org/packages/e5/0b/aa68b221dde92d09cb29a024ede17550ee21e77a404e59fc093c82bb51e1/cryptography-48.0.1-cp39-abi3-manylinux_2_28_ppc64le.whl", hash = "sha256:9621de99d2da096006b629979efd8ae7eb2d8b822488d0c89ee4000c306c59b1", size = 5289970, upload-time = "2026-06-09T22:31:20.368Z" }, - { url = "https://files.pythonhosted.org/packages/78/13/fba657f958d2af66ea959a4ba01212632089249d34af1ae48054136344d7/cryptography-48.0.1-cp39-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:88c852a0ae366e262e5a1744b685e6a433dc8788dd2a277e418bf4904203609d", size = 4731873, upload-time = "2026-06-09T22:31:22.253Z" }, - { url = "https://files.pythonhosted.org/packages/4c/4c/9a964756d24a26b3e34dfcb16f961b89838786e6700b635b0d1e3adff4b6/cryptography-48.0.1-cp39-abi3-manylinux_2_31_armv7l.whl", hash = "sha256:43c5835e2cb98c8733d86f57d6fc879b613f5c3478607281c3e36daffc6dd8a6", size = 4330804, upload-time = "2026-06-09T22:31:36.56Z" }, - { url = "https://files.pythonhosted.org/packages/4b/0f/a10f3a6eb12950a10e3a874070283aa2dd5875b2bfd15fad8a3e17b3f13e/cryptography-48.0.1-cp39-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:fe0180af5bf9236518a087e35bf2d9a347d5f5f51e63c579d683ddff424e3d46", size = 4696217, upload-time = "2026-06-09T22:31:13.351Z" }, - { url = "https://files.pythonhosted.org/packages/f3/6f/5cd12f951165ea73ef85266775d97e4c763b2474ccfd816dd69d3a18d6f8/cryptography-48.0.1-cp39-abi3-manylinux_2_34_ppc64le.whl", hash = "sha256:b7a2d1a937a738a881737cec135a38bb61470589b17515b9f73f571d0ae10401", size = 5245252, upload-time = "2026-06-09T22:32:02.193Z" }, - { url = "https://files.pythonhosted.org/packages/68/ab/8aaa12e4516ec4464033ab79b6f3b592bd5a92102467c4ace8a0d970203f/cryptography-48.0.1-cp39-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:b74ca3b8e5ecdd833bf6a002ca41b4793bb27fb8f1c06ffaf2643c9e9140e31b", size = 4731388, upload-time = "2026-06-09T22:32:04.019Z" }, - { url = "https://files.pythonhosted.org/packages/1b/24/50027ea4dca85ec1f40688f3c24fb32ccacd520583c9592c3cc95628e6fb/cryptography-48.0.1-cp39-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:2c37f2461406063b417837f5f3daab668652acd82423efcd7f0a9f04be972de1", size = 4824186, upload-time = "2026-06-09T22:32:18.707Z" }, - { url = "https://files.pythonhosted.org/packages/52/41/04cb5eb17085ade6f50cc611fb657df6a0f5885350de8764ece89c050197/cryptography-48.0.1-cp39-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:86fe77abb1bd87afb251d4d02ada7ecf53a32cee9b67d976abb2e45a13297475", size = 4964539, upload-time = "2026-06-09T22:31:18.793Z" }, - { url = "https://files.pythonhosted.org/packages/36/bf/ed70785c496e89d7e73b7cda2d21f2447fd6d4e821714b8d04ff217fed92/cryptography-48.0.1-cp39-abi3-win32.whl", hash = "sha256:6b2c0c3e6ccf3ade7750f836ef3ee36eea250cc467d45c256895573ac08cc6f1", size = 3282307, upload-time = "2026-06-09T22:30:53.162Z" }, - { url = "https://files.pythonhosted.org/packages/b3/ff/371ea7d252656ee1eb6d83eeeef3d1d0c6baf1d6497687d081ea03814670/cryptography-48.0.1-cp39-abi3-win_amd64.whl", hash = "sha256:9a49ca6c81417f6a5edb50375a60cccdd70fa0a91a5211829dbea74eba94d2ac", size = 3793408, upload-time = "2026-06-09T22:32:15.191Z" }, +sdist = { url = "https://files.pythonhosted.org/packages/bb/ad/5d6702db60b1e40b41ef513b6967ff5848f307d50f8449baf1634f5908f1/cryptography-50.0.1.tar.gz", hash = "sha256:5dd9bda1c12b4162f6ff568eeb5e0ff956c28d14406e875cfe8a63a2d414ff20", size = 880381, upload-time = "2026-08-25T19:45:45.499Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ba/19/797e2aaac9df6a66f1550f49979dc1b1e39ecd2077501c30efa81e8d5d67/cryptography-50.0.1-cp311-abi3-macosx_11_0_arm64.whl", hash = "sha256:b8f852c65863251b9e3a1b8c150ce21e59b522dbb6a7d4bc80e680d38388e986", size = 4010153, upload-time = "2026-08-25T19:44:03.155Z" }, + { url = "https://files.pythonhosted.org/packages/90/34/9ce9a62ed9dc82ca9fd6a34445b6904af56e5f38b3eae2ed32e49c36053d/cryptography-50.0.1-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:53e279950892dc102c6b4e52af03ae5ea92fac572a1ddab78ca73a997f62b69f", size = 4723133, upload-time = "2026-08-25T19:44:05.461Z" }, + { url = "https://files.pythonhosted.org/packages/57/26/e6d4fc8512a51a5f9ee7bfdbfb853bce1197087df40c9ad993ad370b846f/cryptography-50.0.1-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:ff838d62ec1bfce4f9ba7fa16f4a7b554cd8d0c299e6be37502161a660c84eef", size = 4712478, upload-time = "2026-08-25T19:44:07.375Z" }, + { url = "https://files.pythonhosted.org/packages/e6/de/d3cdc2815697aae84126cbd6a030ca7b6b452e28a88b501b836bd3aa7a86/cryptography-50.0.1-cp311-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:e74591e283fe6eb956416c929eb58262a719fe0311fd9054c62c3350ed8760d8", size = 4730726, upload-time = "2026-08-25T19:44:09.294Z" }, + { url = "https://files.pythonhosted.org/packages/55/32/38c0d344b98c06d34b5df8946565a9c0d6dbf32c8e0730a7f05f0a3c6cab/cryptography-50.0.1-cp311-abi3-manylinux_2_28_ppc64le.whl", hash = "sha256:5fe002589592ed749ce77fe0695fcbd3500dd61d7d6db5858a7544c612fa8e45", size = 5353524, upload-time = "2026-08-25T19:44:11.96Z" }, + { url = "https://files.pythonhosted.org/packages/e1/1b/82f0f0d8858d4432be1af790477edf62aef90324041aa07c57e57bef1af7/cryptography-50.0.1-cp311-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:51593d180cf6d179bde5c5d065bed81386b1f381656ae7d042b7ffc87a9895ad", size = 4746720, upload-time = "2026-08-25T19:44:14.051Z" }, + { url = "https://files.pythonhosted.org/packages/29/ba/042ca458b8c64348c768284b5d23e69b92ed53d057ab779fee628564676d/cryptography-50.0.1-cp311-abi3-manylinux_2_31_armv7l.whl", hash = "sha256:359e62deae718bce96170e223fdcb6357e4fbd3bb7a3a75f4430763532560e49", size = 4361866, upload-time = "2026-08-25T19:44:16.167Z" }, + { url = "https://files.pythonhosted.org/packages/39/3b/e96c1ef71edef71057c7e3c3d982ce8fda554e0c52d0cc19c18845cde3eb/cryptography-50.0.1-cp311-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:e2ca8fd1b6b4b82a1c4cb02841d0837e3c12336c2e24b520ab8ab3b969733d8f", size = 4730028, upload-time = "2026-08-25T19:44:18.085Z" }, + { url = "https://files.pythonhosted.org/packages/e3/38/45abd72ef63f2e7d0754a6cacf97bd8b69512ace7f6130d24c39ece65da2/cryptography-50.0.1-cp311-abi3-manylinux_2_34_ppc64le.whl", hash = "sha256:76de83fbd91ac49c0feaaa983d0748fd7a53176afac5fb3bf7478d244f0eb527", size = 5308405, upload-time = "2026-08-25T19:44:20.197Z" }, + { url = "https://files.pythonhosted.org/packages/85/66/6ccca4722987ddedaa7fc9c3f4708af7431f5535666c174350830888c6b7/cryptography-50.0.1-cp311-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:51afcfceb15597cf2635068e4ac9a56b2abde622edde17f37d85fd7b5306497a", size = 4746230, upload-time = "2026-08-25T19:44:22.376Z" }, + { url = "https://files.pythonhosted.org/packages/13/0e/b1f92e013228111413f2e6743948b80bc24dfd3c1b87ba98ceea16f5df89/cryptography-50.0.1-cp311-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:be224a65493ec5b74a158ff22a5522ce4a5ca1e543c647a3a4730d4a09e5f959", size = 4862596, upload-time = "2026-08-25T19:44:24.472Z" }, + { url = "https://files.pythonhosted.org/packages/7e/22/c3654cccc856e9d682817b04ac3ee79731cb09ca6f95996a95c904de2883/cryptography-50.0.1-cp311-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:9ebcdd5519be9b652a46f507817a74591774fc3d6923ac364e4dfa64e36b291b", size = 5014082, upload-time = "2026-08-25T19:44:26.709Z" }, + { url = "https://files.pythonhosted.org/packages/42/8b/cb12b1b60c91b074ca6bf0fdd59aa8f10d8bc5f73af8faece86ef0421b37/cryptography-50.0.1-cp311-abi3-win_amd64.whl", hash = "sha256:aed8db4f6d71c51efb89530e12d9464e7bf2923d46c3205dc794a2a93f8c0648", size = 3842826, upload-time = "2026-08-25T19:44:28.784Z" }, + { url = "https://files.pythonhosted.org/packages/5b/f0/424cb557d99aa86ac55da5e2add02e2882e44047b6264f93ade1b975a993/cryptography-50.0.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:30a125032e5642a21ff816e021152bd4e7e94f03eff3f4b7fca41cd22bc3110f", size = 3973525, upload-time = "2026-08-25T19:44:30.7Z" }, + { url = "https://files.pythonhosted.org/packages/4d/72/3a2711d967977ab5fc80b782837c7e8d1ac7445e764c20c381a265c57ef3/cryptography-50.0.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:a0b1a59e3a089064a0ec309e9428c8e3ae4e161419d20ac33600767e83fc658a", size = 4708817, upload-time = "2026-08-25T19:44:32.773Z" }, + { url = "https://files.pythonhosted.org/packages/b4/f2/bb1f56e10815b789df0b409a69fa4992ff3d3fef9c72747f4a6b26fed38e/cryptography-50.0.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:8921d58f426793c5f1b47f0b59575780de9a095214958d0eb37d909593db8367", size = 4697300, upload-time = "2026-08-25T19:44:35.144Z" }, + { url = "https://files.pythonhosted.org/packages/08/bd/ed5396be499ffcf8807a585bfe38b71a1fbdd1c342b4f9b6d0ef5162a946/cryptography-50.0.1-cp314-cp314t-manylinux_2_28_aarch64.whl", hash = "sha256:a8f40ea47330e71b594a7e246898f93177c259490c63183dbaf9e571d71ed9a5", size = 4716039, upload-time = "2026-08-25T19:44:37.192Z" }, + { url = "https://files.pythonhosted.org/packages/f6/6e/1cf405c5c8e8df7545378048e954792f00b7f2367af8863ce8b8f3e10607/cryptography-50.0.1-cp314-cp314t-manylinux_2_28_ppc64le.whl", hash = "sha256:a255449073358275b64b67d3f595f268bbef70e72b6edb65e0c70c735bf739c9", size = 5332388, upload-time = "2026-08-25T19:44:39.16Z" }, + { url = "https://files.pythonhosted.org/packages/47/92/b4317e8c32c4f47b062f5398bd79106b220a124546f42be83bf32b761e2a/cryptography-50.0.1-cp314-cp314t-manylinux_2_28_x86_64.whl", hash = "sha256:8df2de9102026855887e4587084f6eabd80ed0f345b8ad8a7ac27ab9bf4723e0", size = 4730293, upload-time = "2026-08-25T19:44:41.298Z" }, + { url = "https://files.pythonhosted.org/packages/39/0d/a1e7633e2c744d0f2983320a27e924ef2264c79c56e1a58d5fb0a1cfd413/cryptography-50.0.1-cp314-cp314t-manylinux_2_31_armv7l.whl", hash = "sha256:ac02b07824d4d1001bd4367599f839c19cb171924c796e52c23508ac14c2c0cc", size = 4346031, upload-time = "2026-08-25T19:44:43.245Z" }, + { url = "https://files.pythonhosted.org/packages/88/dd/b215616f9bab3fc18510c78a4e5c9f362d77838503c363dc747c7d4f5c6f/cryptography-50.0.1-cp314-cp314t-manylinux_2_34_aarch64.whl", hash = "sha256:cbf74a81765ee67413503ca6e26dcc4f6f5a519822436cc0a1b97aab6c1b8a17", size = 4715344, upload-time = "2026-08-25T19:44:45.291Z" }, + { url = "https://files.pythonhosted.org/packages/b1/1b/ec3ebd31741d0e963612c4fe43caa39341b9b1e031e469820e42e4c83918/cryptography-50.0.1-cp314-cp314t-manylinux_2_34_ppc64le.whl", hash = "sha256:16c5ecd954b3330ebfb6605eca4fd952da8bef376551d5cc264534e3770a9ee6", size = 5287201, upload-time = "2026-08-25T19:44:47.297Z" }, + { url = "https://files.pythonhosted.org/packages/1a/01/0127d11a762b31a9ee0221894f540318761783f3fdc4bc5d057698caebd5/cryptography-50.0.1-cp314-cp314t-manylinux_2_34_x86_64.whl", hash = "sha256:79bf008d1f9af6071c797ad133e39915dfee7614f18f18f4db9072eb715064a3", size = 4730023, upload-time = "2026-08-25T19:44:49.435Z" }, + { url = "https://files.pythonhosted.org/packages/9e/b9/e7425ebfb599241a0c1d7000f1b466c3062da66c19d9525031315dff7213/cryptography-50.0.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:330fbb252391c596f1ae42c5754449dc924e6ad012dca8efe0d703f9f2d12ec6", size = 4847362, upload-time = "2026-08-25T19:44:51.94Z" }, + { url = "https://files.pythonhosted.org/packages/2d/fd/60d0ddf4defa12e482c9d5e0f554384d6e8ab25341fd15f060028fd92e6a/cryptography-50.0.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:42be3bb70596b3abe4ac097b75be223e8b3ab614a0e5de068e3dcc54d71d6149", size = 4999247, upload-time = "2026-08-25T19:44:53.876Z" }, + { url = "https://files.pythonhosted.org/packages/4d/56/bc4f2b209e766c93372cfcd59b781a0b2b59700f62a969580415b699c2b2/cryptography-50.0.1-cp314-cp314t-win_amd64.whl", hash = "sha256:f74455bb086a85d5e81246412602aaa97ed095e504cd40dd261ef50be42205bf", size = 3825806, upload-time = "2026-08-25T19:44:56.209Z" }, + { url = "https://files.pythonhosted.org/packages/84/a9/ee16a903f13755e914d1eecc482fe64d1f10761c3960e5d8fa6837377aff/cryptography-50.0.1-cp39-abi3-macosx_11_0_arm64.whl", hash = "sha256:ca83d00d9e69cd5eb63f2e69c3a5a59e0cecae5ae14c6ae0b35830fe3b37bad0", size = 4035307, upload-time = "2026-08-25T19:44:58.305Z" }, + { url = "https://files.pythonhosted.org/packages/5e/a5/9ec7e81e8526c0d7a387d73386b2daed3f39e10d81a85930bd1b6bfba65c/cryptography-50.0.1-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:05ba322c4da95b262a212c345af888ef2c37c88c0509756ea00a0e6d68850f23", size = 4751900, upload-time = "2026-08-25T19:45:00.401Z" }, + { url = "https://files.pythonhosted.org/packages/7e/3c/0e77bd5ffcf078e9dd27d3074aad6c030d9b10d0bf69329d573c927a188c/cryptography-50.0.1-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:e22dfed744bd4002e909464cb23d2f0b05c6f3113a79ef2e9864a53db737c733", size = 4738357, upload-time = "2026-08-25T19:45:02.786Z" }, + { url = "https://files.pythonhosted.org/packages/27/3a/3c5f80daa4dcd47323c7af8a2fcb90de27a33564d4fcac69846c0972691a/cryptography-50.0.1-cp39-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:4c4188f7c0cf655be5c06342b817ed0f9595b69ffa2b12026e5353eed29dea88", size = 4758474, upload-time = "2026-08-25T19:45:04.889Z" }, + { url = "https://files.pythonhosted.org/packages/6e/2b/214cf0cf93db9628c3c20c896b229f327f6fb1b20e4b3743d8ad3f00af8b/cryptography-50.0.1-cp39-abi3-manylinux_2_28_ppc64le.whl", hash = "sha256:2ebbfb0f1fed745e91796e3e1080a1440423fdae8ece1b995a1d80883a409054", size = 5375862, upload-time = "2026-08-25T19:45:07.163Z" }, + { url = "https://files.pythonhosted.org/packages/d6/51/3f9701867a46b6c1740c9b52fc4d3bed6cbdcfedcc9b6e64305c07f39cff/cryptography-50.0.1-cp39-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:407fe2b6db00939c05c0e945e9914238f2f0a430974839429dafc82b1ee6bee5", size = 4772942, upload-time = "2026-08-25T19:45:09.396Z" }, + { url = "https://files.pythonhosted.org/packages/0d/5c/13ea642e08e2544d0f5396122055f4820cfacb3203562197b5967125ea97/cryptography-50.0.1-cp39-abi3-manylinux_2_31_armv7l.whl", hash = "sha256:2b34d76a652ea2b6faf777c35df230c5637842cd904e04f16230c3f9f03e4361", size = 4383347, upload-time = "2026-08-25T19:45:11.659Z" }, + { url = "https://files.pythonhosted.org/packages/84/d5/7d1fe1cb93f91c428093ff234e128c89ba8ea61a6f26aab406081f9b996e/cryptography-50.0.1-cp39-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:01f41478cf33fc605a6a089cd56d28b45c6c0b45a1928b61797f2621a04bac71", size = 4758050, upload-time = "2026-08-25T19:45:13.745Z" }, + { url = "https://files.pythonhosted.org/packages/dd/04/557fc5ead96a829e0bc812a3b9dc4a52a2f27e4f7f5950da7ff27653a805/cryptography-50.0.1-cp39-abi3-manylinux_2_34_ppc64le.whl", hash = "sha256:fc3ed7ebd2a8c96f5b166de0ab9b624996bef3b07bbeb19364dfb78222c22c80", size = 5332955, upload-time = "2026-08-25T19:45:16.193Z" }, + { url = "https://files.pythonhosted.org/packages/8c/eb/5d7124083e8d8cda8f5b348f544b71ad6f707ad63193758ef4d8e569da02/cryptography-50.0.1-cp39-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:9dde0a357190eb3b1da1bb9ab750e9c85cba82ca5977aa0836cbb94e92611239", size = 4772694, upload-time = "2026-08-25T19:45:18.315Z" }, + { url = "https://files.pythonhosted.org/packages/63/8e/f1f955e0921dd2b6d22eae7e8d24a4c4b638d10735ffbf6a71f99eb0fcb8/cryptography-50.0.1-cp39-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:fd3718b960d0b5dd213cdf03f3bcb7000e69dda0de8b956061947ff6bcff5558", size = 4888413, upload-time = "2026-08-25T19:45:20.4Z" }, + { url = "https://files.pythonhosted.org/packages/1f/ab/89e2b798d2c3925f82e2bb72d5979f3d2f6da2dd22ef4a8cd8b70d920039/cryptography-50.0.1-cp39-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:2a93d05e34d5f67fba6f891fe85d929999baa7195e853923ea6d7576c9e68c5e", size = 5044355, upload-time = "2026-08-25T19:45:22.353Z" }, + { url = "https://files.pythonhosted.org/packages/99/89/87ef49ffe383ef4e147d27b7bf2088fb0b54ea409dd87b5a89442e5828a5/cryptography-50.0.1-cp39-abi3-win_amd64.whl", hash = "sha256:55d16b1ef3ee0958d893a977b19777887e546c9954ea81b200c3301a864013f2", size = 3875429, upload-time = "2026-08-25T19:45:24.418Z" }, ] [[package]] @@ -788,7 +785,7 @@ wheels = [ [[package]] name = "dexalot-sdk" -version = "0.6.0" +version = "0.6.1" source = { editable = "." } dependencies = [ { name = "aiohttp" }, @@ -813,17 +810,20 @@ dev = [ ] docs = [ { name = "mkdocstrings", extra = ["python"] }, + { name = "pymdown-extensions" }, { name = "zensical" }, ] security = [ { name = "bandit" }, + { name = "msgpack" }, + { name = "pip" }, { name = "pip-audit" }, ] [package.metadata] requires-dist = [ - { name = "aiohttp", specifier = ">=3.14.1,<4" }, - { name = "cryptography", specifier = ">=48.0.1,<49" }, + { name = "aiohttp", specifier = ">=3.14.3,<4" }, + { name = "cryptography", specifier = ">=50.0.0,<51" }, { name = "eth-account", specifier = ">=0.11,<1" }, { name = "idna", specifier = ">=3.15" }, { name = "python-dotenv", specifier = ">=1.0,<2" }, @@ -844,10 +844,13 @@ dev = [ ] docs = [ { name = "mkdocstrings", extras = ["python"], specifier = ">=0.29" }, + { name = "pymdown-extensions", specifier = ">=11.0.1" }, { name = "zensical", specifier = ">=0.0.29" }, ] security = [ { name = "bandit", extras = ["toml"] }, + { name = "msgpack", specifier = ">=1.2.1" }, + { name = "pip", specifier = ">=26.2" }, { name = "pip-audit" }, ] @@ -1480,46 +1483,54 @@ wheels = [ [[package]] name = "msgpack" -version = "1.1.2" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/4d/f2/bfb55a6236ed8725a96b0aa3acbd0ec17588e6a2c3b62a93eb513ed8783f/msgpack-1.1.2.tar.gz", hash = "sha256:3b60763c1373dd60f398488069bcdc703cd08a711477b5d480eecc9f9626f47e", size = 173581, upload-time = "2025-10-08T09:15:56.596Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/ad/bd/8b0d01c756203fbab65d265859749860682ccd2a59594609aeec3a144efa/msgpack-1.1.2-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:70a0dff9d1f8da25179ffcf880e10cf1aad55fdb63cd59c9a49a1b82290062aa", size = 81939, upload-time = "2025-10-08T09:15:01.472Z" }, - { url = "https://files.pythonhosted.org/packages/34/68/ba4f155f793a74c1483d4bdef136e1023f7bcba557f0db4ef3db3c665cf1/msgpack-1.1.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:446abdd8b94b55c800ac34b102dffd2f6aa0ce643c55dfc017ad89347db3dbdb", size = 85064, upload-time = "2025-10-08T09:15:03.764Z" }, - { url = "https://files.pythonhosted.org/packages/f2/60/a064b0345fc36c4c3d2c743c82d9100c40388d77f0b48b2f04d6041dbec1/msgpack-1.1.2-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c63eea553c69ab05b6747901b97d620bb2a690633c77f23feb0c6a947a8a7b8f", size = 417131, upload-time = "2025-10-08T09:15:05.136Z" }, - { url = "https://files.pythonhosted.org/packages/65/92/a5100f7185a800a5d29f8d14041f61475b9de465ffcc0f3b9fba606e4505/msgpack-1.1.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:372839311ccf6bdaf39b00b61288e0557916c3729529b301c52c2d88842add42", size = 427556, upload-time = "2025-10-08T09:15:06.837Z" }, - { url = "https://files.pythonhosted.org/packages/f5/87/ffe21d1bf7d9991354ad93949286f643b2bb6ddbeab66373922b44c3b8cc/msgpack-1.1.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:2929af52106ca73fcb28576218476ffbb531a036c2adbcf54a3664de124303e9", size = 404920, upload-time = "2025-10-08T09:15:08.179Z" }, - { url = "https://files.pythonhosted.org/packages/ff/41/8543ed2b8604f7c0d89ce066f42007faac1eaa7d79a81555f206a5cdb889/msgpack-1.1.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:be52a8fc79e45b0364210eef5234a7cf8d330836d0a64dfbb878efa903d84620", size = 415013, upload-time = "2025-10-08T09:15:09.83Z" }, - { url = "https://files.pythonhosted.org/packages/41/0d/2ddfaa8b7e1cee6c490d46cb0a39742b19e2481600a7a0e96537e9c22f43/msgpack-1.1.2-cp312-cp312-win32.whl", hash = "sha256:1fff3d825d7859ac888b0fbda39a42d59193543920eda9d9bea44d958a878029", size = 65096, upload-time = "2025-10-08T09:15:11.11Z" }, - { url = "https://files.pythonhosted.org/packages/8c/ec/d431eb7941fb55a31dd6ca3404d41fbb52d99172df2e7707754488390910/msgpack-1.1.2-cp312-cp312-win_amd64.whl", hash = "sha256:1de460f0403172cff81169a30b9a92b260cb809c4cb7e2fc79ae8d0510c78b6b", size = 72708, upload-time = "2025-10-08T09:15:12.554Z" }, - { url = "https://files.pythonhosted.org/packages/c5/31/5b1a1f70eb0e87d1678e9624908f86317787b536060641d6798e3cf70ace/msgpack-1.1.2-cp312-cp312-win_arm64.whl", hash = "sha256:be5980f3ee0e6bd44f3a9e9dea01054f175b50c3e6cdb692bc9424c0bbb8bf69", size = 64119, upload-time = "2025-10-08T09:15:13.589Z" }, - { url = "https://files.pythonhosted.org/packages/6b/31/b46518ecc604d7edf3a4f94cb3bf021fc62aa301f0cb849936968164ef23/msgpack-1.1.2-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:4efd7b5979ccb539c221a4c4e16aac1a533efc97f3b759bb5a5ac9f6d10383bf", size = 81212, upload-time = "2025-10-08T09:15:14.552Z" }, - { url = "https://files.pythonhosted.org/packages/92/dc/c385f38f2c2433333345a82926c6bfa5ecfff3ef787201614317b58dd8be/msgpack-1.1.2-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:42eefe2c3e2af97ed470eec850facbe1b5ad1d6eacdbadc42ec98e7dcf68b4b7", size = 84315, upload-time = "2025-10-08T09:15:15.543Z" }, - { url = "https://files.pythonhosted.org/packages/d3/68/93180dce57f684a61a88a45ed13047558ded2be46f03acb8dec6d7c513af/msgpack-1.1.2-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1fdf7d83102bf09e7ce3357de96c59b627395352a4024f6e2458501f158bf999", size = 412721, upload-time = "2025-10-08T09:15:16.567Z" }, - { url = "https://files.pythonhosted.org/packages/5d/ba/459f18c16f2b3fc1a1ca871f72f07d70c07bf768ad0a507a698b8052ac58/msgpack-1.1.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:fac4be746328f90caa3cd4bc67e6fe36ca2bf61d5c6eb6d895b6527e3f05071e", size = 424657, upload-time = "2025-10-08T09:15:17.825Z" }, - { url = "https://files.pythonhosted.org/packages/38/f8/4398c46863b093252fe67368b44edc6c13b17f4e6b0e4929dbf0bdb13f23/msgpack-1.1.2-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:fffee09044073e69f2bad787071aeec727183e7580443dfeb8556cbf1978d162", size = 402668, upload-time = "2025-10-08T09:15:19.003Z" }, - { url = "https://files.pythonhosted.org/packages/28/ce/698c1eff75626e4124b4d78e21cca0b4cc90043afb80a507626ea354ab52/msgpack-1.1.2-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:5928604de9b032bc17f5099496417f113c45bc6bc21b5c6920caf34b3c428794", size = 419040, upload-time = "2025-10-08T09:15:20.183Z" }, - { url = "https://files.pythonhosted.org/packages/67/32/f3cd1667028424fa7001d82e10ee35386eea1408b93d399b09fb0aa7875f/msgpack-1.1.2-cp313-cp313-win32.whl", hash = "sha256:a7787d353595c7c7e145e2331abf8b7ff1e6673a6b974ded96e6d4ec09f00c8c", size = 65037, upload-time = "2025-10-08T09:15:21.416Z" }, - { url = "https://files.pythonhosted.org/packages/74/07/1ed8277f8653c40ebc65985180b007879f6a836c525b3885dcc6448ae6cb/msgpack-1.1.2-cp313-cp313-win_amd64.whl", hash = "sha256:a465f0dceb8e13a487e54c07d04ae3ba131c7c5b95e2612596eafde1dccf64a9", size = 72631, upload-time = "2025-10-08T09:15:22.431Z" }, - { url = "https://files.pythonhosted.org/packages/e5/db/0314e4e2db56ebcf450f277904ffd84a7988b9e5da8d0d61ab2d057df2b6/msgpack-1.1.2-cp313-cp313-win_arm64.whl", hash = "sha256:e69b39f8c0aa5ec24b57737ebee40be647035158f14ed4b40e6f150077e21a84", size = 64118, upload-time = "2025-10-08T09:15:23.402Z" }, - { url = "https://files.pythonhosted.org/packages/22/71/201105712d0a2ff07b7873ed3c220292fb2ea5120603c00c4b634bcdafb3/msgpack-1.1.2-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:e23ce8d5f7aa6ea6d2a2b326b4ba46c985dbb204523759984430db7114f8aa00", size = 81127, upload-time = "2025-10-08T09:15:24.408Z" }, - { url = "https://files.pythonhosted.org/packages/1b/9f/38ff9e57a2eade7bf9dfee5eae17f39fc0e998658050279cbb14d97d36d9/msgpack-1.1.2-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:6c15b7d74c939ebe620dd8e559384be806204d73b4f9356320632d783d1f7939", size = 84981, upload-time = "2025-10-08T09:15:25.812Z" }, - { url = "https://files.pythonhosted.org/packages/8e/a9/3536e385167b88c2cc8f4424c49e28d49a6fc35206d4a8060f136e71f94c/msgpack-1.1.2-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:99e2cb7b9031568a2a5c73aa077180f93dd2e95b4f8d3b8e14a73ae94a9e667e", size = 411885, upload-time = "2025-10-08T09:15:27.22Z" }, - { url = "https://files.pythonhosted.org/packages/2f/40/dc34d1a8d5f1e51fc64640b62b191684da52ca469da9cd74e84936ffa4a6/msgpack-1.1.2-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:180759d89a057eab503cf62eeec0aa61c4ea1200dee709f3a8e9397dbb3b6931", size = 419658, upload-time = "2025-10-08T09:15:28.4Z" }, - { url = "https://files.pythonhosted.org/packages/3b/ef/2b92e286366500a09a67e03496ee8b8ba00562797a52f3c117aa2b29514b/msgpack-1.1.2-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:04fb995247a6e83830b62f0b07bf36540c213f6eac8e851166d8d86d83cbd014", size = 403290, upload-time = "2025-10-08T09:15:29.764Z" }, - { url = "https://files.pythonhosted.org/packages/78/90/e0ea7990abea5764e4655b8177aa7c63cdfa89945b6e7641055800f6c16b/msgpack-1.1.2-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:8e22ab046fa7ede9e36eeb4cfad44d46450f37bb05d5ec482b02868f451c95e2", size = 415234, upload-time = "2025-10-08T09:15:31.022Z" }, - { url = "https://files.pythonhosted.org/packages/72/4e/9390aed5db983a2310818cd7d3ec0aecad45e1f7007e0cda79c79507bb0d/msgpack-1.1.2-cp314-cp314-win32.whl", hash = "sha256:80a0ff7d4abf5fecb995fcf235d4064b9a9a8a40a3ab80999e6ac1e30b702717", size = 66391, upload-time = "2025-10-08T09:15:32.265Z" }, - { url = "https://files.pythonhosted.org/packages/6e/f1/abd09c2ae91228c5f3998dbd7f41353def9eac64253de3c8105efa2082f7/msgpack-1.1.2-cp314-cp314-win_amd64.whl", hash = "sha256:9ade919fac6a3e7260b7f64cea89df6bec59104987cbea34d34a2fa15d74310b", size = 73787, upload-time = "2025-10-08T09:15:33.219Z" }, - { url = "https://files.pythonhosted.org/packages/6a/b0/9d9f667ab48b16ad4115c1935d94023b82b3198064cb84a123e97f7466c1/msgpack-1.1.2-cp314-cp314-win_arm64.whl", hash = "sha256:59415c6076b1e30e563eb732e23b994a61c159cec44deaf584e5cc1dd662f2af", size = 66453, upload-time = "2025-10-08T09:15:34.225Z" }, - { url = "https://files.pythonhosted.org/packages/16/67/93f80545eb1792b61a217fa7f06d5e5cb9e0055bed867f43e2b8e012e137/msgpack-1.1.2-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:897c478140877e5307760b0ea66e0932738879e7aa68144d9b78ea4c8302a84a", size = 85264, upload-time = "2025-10-08T09:15:35.61Z" }, - { url = "https://files.pythonhosted.org/packages/87/1c/33c8a24959cf193966ef11a6f6a2995a65eb066bd681fd085afd519a57ce/msgpack-1.1.2-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:a668204fa43e6d02f89dbe79a30b0d67238d9ec4c5bd8a940fc3a004a47b721b", size = 89076, upload-time = "2025-10-08T09:15:36.619Z" }, - { url = "https://files.pythonhosted.org/packages/fc/6b/62e85ff7193663fbea5c0254ef32f0c77134b4059f8da89b958beb7696f3/msgpack-1.1.2-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5559d03930d3aa0f3aacb4c42c776af1a2ace2611871c84a75afe436695e6245", size = 435242, upload-time = "2025-10-08T09:15:37.647Z" }, - { url = "https://files.pythonhosted.org/packages/c1/47/5c74ecb4cc277cf09f64e913947871682ffa82b3b93c8dad68083112f412/msgpack-1.1.2-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:70c5a7a9fea7f036b716191c29047374c10721c389c21e9ffafad04df8c52c90", size = 432509, upload-time = "2025-10-08T09:15:38.794Z" }, - { url = "https://files.pythonhosted.org/packages/24/a4/e98ccdb56dc4e98c929a3f150de1799831c0a800583cde9fa022fa90602d/msgpack-1.1.2-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:f2cb069d8b981abc72b41aea1c580ce92d57c673ec61af4c500153a626cb9e20", size = 415957, upload-time = "2025-10-08T09:15:40.238Z" }, - { url = "https://files.pythonhosted.org/packages/da/28/6951f7fb67bc0a4e184a6b38ab71a92d9ba58080b27a77d3e2fb0be5998f/msgpack-1.1.2-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:d62ce1f483f355f61adb5433ebfd8868c5f078d1a52d042b0a998682b4fa8c27", size = 422910, upload-time = "2025-10-08T09:15:41.505Z" }, - { url = "https://files.pythonhosted.org/packages/f0/03/42106dcded51f0a0b5284d3ce30a671e7bd3f7318d122b2ead66ad289fed/msgpack-1.1.2-cp314-cp314t-win32.whl", hash = "sha256:1d1418482b1ee984625d88aa9585db570180c286d942da463533b238b98b812b", size = 75197, upload-time = "2025-10-08T09:15:42.954Z" }, - { url = "https://files.pythonhosted.org/packages/15/86/d0071e94987f8db59d4eeb386ddc64d0bb9b10820a8d82bcd3e53eeb2da6/msgpack-1.1.2-cp314-cp314t-win_amd64.whl", hash = "sha256:5a46bf7e831d09470ad92dff02b8b1ac92175ca36b087f904a0519857c6be3ff", size = 85772, upload-time = "2025-10-08T09:15:43.954Z" }, - { url = "https://files.pythonhosted.org/packages/81/f2/08ace4142eb281c12701fc3b93a10795e4d4dc7f753911d836675050f886/msgpack-1.1.2-cp314-cp314t-win_arm64.whl", hash = "sha256:d99ef64f349d5ec3293688e91486c5fdb925ed03807f64d98d205d2713c60b46", size = 70868, upload-time = "2025-10-08T09:15:44.959Z" }, +version = "1.2.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/6d/44/ea2100ec54d30c46ee9dba10a3bfb79b655e96c6df237238a3234c75869b/msgpack-1.2.2.tar.gz", hash = "sha256:9eb0b0e602064527a045ea28c4f174ed69383587e29cebe28947e3b84106eb2a", size = 187025, upload-time = "2026-08-27T10:03:47.793Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/31/78/90c15bebb1a72667349ca62d4507e9d9369e7f8f76b95f490b823d3622e5/msgpack-1.2.2-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:4a4348705be86e029d04e741cf9ed0dfe03e942d7d3b92e838fa80d3aa2c3ebc", size = 84275, upload-time = "2026-08-27T10:02:07.106Z" }, + { url = "https://files.pythonhosted.org/packages/88/88/c2b6d8e81571da87aa232c0e34a3f3a0e618e6235892065ec82d1d81fc7a/msgpack-1.2.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:0a652ceeededf71d3fa40c303a02a149d42338d310162367b91c539d4bd6e0a3", size = 83970, upload-time = "2026-08-27T10:02:08.488Z" }, + { url = "https://files.pythonhosted.org/packages/da/c0/d3ede9f5d16acb4c05a9281859f1e99ef9f877a928eb78454c37f70db001/msgpack-1.2.2-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:90986cc9aab9d7d1d8f38bcbf65d3f7ac83bdd90c35765db7d691b4829698cba", size = 409401, upload-time = "2026-08-27T10:02:09.877Z" }, + { url = "https://files.pythonhosted.org/packages/41/f0/29f591bea185616cf417645ac03bd3ad9b317483ad8572160e325f7fe777/msgpack-1.2.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:77c2e018417dc1d66f235e383877ee885b60ade9d29e494dd581e08af2cb1923", size = 420619, upload-time = "2026-08-27T10:02:11.526Z" }, + { url = "https://files.pythonhosted.org/packages/4e/8e/c70c8c9180c5ddf4440eb8658ebead98e22e7686fbf84f6b165031430750/msgpack-1.2.2-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:0e91332144f69bc3018c91232fac26da580ef748fb8eaddd7914d4458001cc4f", size = 379747, upload-time = "2026-08-27T10:02:13.345Z" }, + { url = "https://files.pythonhosted.org/packages/50/9a/f10ce11fa62700c9ab87a22e65b9ca272f7f673ddd31aeb2de6ae272ad35/msgpack-1.2.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:3e915d390d7068b257ca8b62f3fc59fad135c8631d1017ab03b0b924b07c5367", size = 398944, upload-time = "2026-08-27T10:02:15.006Z" }, + { url = "https://files.pythonhosted.org/packages/82/fe/d7be978456ff8552e69a8e270d882e7530e01513c096b293d83df03753ea/msgpack-1.2.2-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:c522420d78db2431887d45b518e304d86e27b9ad0b30f24e3806a6ad5d8bdbfc", size = 373979, upload-time = "2026-08-27T10:02:16.618Z" }, + { url = "https://files.pythonhosted.org/packages/be/af/91b0d8d3fb3063e259daee3ea8515cea6282f68f4b0e5f0b6fea25762c6e/msgpack-1.2.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:4b554d8164ebb526892194f71dcd96ef1fefe0c250087498785d3ffc04a80be3", size = 417781, upload-time = "2026-08-27T10:02:18.293Z" }, + { url = "https://files.pythonhosted.org/packages/8e/3c/ce8e9efe1fd9e95c78b3705e4300ba7feba3dc6c00fb76259895db155518/msgpack-1.2.2-cp312-cp312-win32.whl", hash = "sha256:0e3315de5a4b2920ccef48d96b4448025e064a10d0f5a250f6584477d839c8d4", size = 65267, upload-time = "2026-08-27T10:02:19.869Z" }, + { url = "https://files.pythonhosted.org/packages/85/98/a33b8b4af14e3476bb0da1b8c36ef7a0f28dcf95db1c5e68ff88cb89d591/msgpack-1.2.2-cp312-cp312-win_amd64.whl", hash = "sha256:b68614fba0570349833b7dd999ff0aed4e5cc8d9eb6e3a7d4527be33c65e33d3", size = 72275, upload-time = "2026-08-27T10:02:21.141Z" }, + { url = "https://files.pythonhosted.org/packages/df/5e/2f323a33a6aba5bd4b2d8b430e4fab21d92cd91c093b49ee287bc166ee54/msgpack-1.2.2-cp312-cp312-win_arm64.whl", hash = "sha256:59d5b93efa45fd09f620d0c9ba81cde339a2c9937af3eea42ee9653094ce6640", size = 65488, upload-time = "2026-08-27T10:02:22.575Z" }, + { url = "https://files.pythonhosted.org/packages/1f/eb/42f31c5a48811787ff59a9869721f70a49654d65ab6c455f4463c39b044e/msgpack-1.2.2-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:8b2a281b556f120a43e591ea39915741b7ad54d4727b9c4350a0a11692252533", size = 83911, upload-time = "2026-08-27T10:02:24.06Z" }, + { url = "https://files.pythonhosted.org/packages/33/54/10c6c16ddba8a5112e3680176b838e3694e4aad7284f9daa6d6d70d98817/msgpack-1.2.2-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:1e8cdd1f3e7cc52c751092a9bf740e81e6919ab109cd376ae2d965dad0bbae34", size = 83734, upload-time = "2026-08-27T10:02:25.613Z" }, + { url = "https://files.pythonhosted.org/packages/d7/75/35823e4419df8792191b2a17ae3fe71b41d02c162b2c491c94d1a87f0caa/msgpack-1.2.2-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1814f92306ae7862908e9ece7cfd90e0dc87ded3e89b6ae7ffdd1175d6376fdc", size = 405635, upload-time = "2026-08-27T10:02:27.012Z" }, + { url = "https://files.pythonhosted.org/packages/6e/d3/6592e4064619b04f2dd0054c5fa13e37e3d55eb26044483d871fadb2f46b/msgpack-1.2.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d24b38a825bcca41bb956de50eb98451ef291304a8607fad99e619043d3e79b9", size = 417332, upload-time = "2026-08-27T10:02:28.776Z" }, + { url = "https://files.pythonhosted.org/packages/e3/a1/b21c6818a545e9a4a976ac954a5c250eecde9a02e0ec82f415473dab1324/msgpack-1.2.2-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:34e83e345194a2a51d8bd447dea9de2104f91e75b247f4735f14f04529f0746b", size = 374378, upload-time = "2026-08-27T10:02:30.678Z" }, + { url = "https://files.pythonhosted.org/packages/03/8b/7ada15c7b64151d6dbb562d1b091520efb2c37acf2403b1d4ae13797b27d/msgpack-1.2.2-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:682804bf31e43d46e51a9a33bd575b51e839d715ce6bd5612c055f7b28ad637b", size = 395809, upload-time = "2026-08-27T10:02:32.322Z" }, + { url = "https://files.pythonhosted.org/packages/bb/f7/96283e50f7020df4dfeacc55612b7a210c8cdf0dda48bc262f1f9b3e4c49/msgpack-1.2.2-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:9b659d77f8726fa5e7038967dda6b68d53cf34472c094cfa5b845454713b90d5", size = 373495, upload-time = "2026-08-27T10:02:33.832Z" }, + { url = "https://files.pythonhosted.org/packages/cc/fe/1548dede9d9ca482f2d424a2e110a9705d4e02627a16b8bc8d10ce0208a2/msgpack-1.2.2-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:4d9a562aec0a92fe536da2e533d313b3d2a6b929157b1dec7ff623446dc0a8ab", size = 414360, upload-time = "2026-08-27T10:02:35.396Z" }, + { url = "https://files.pythonhosted.org/packages/77/9d/4419b8f86c219174b1fb8bbd7faaf84a548935f7b1916d028401b9433417/msgpack-1.2.2-cp313-cp313-win32.whl", hash = "sha256:a4161eee7799863aee237c35c90427861f7b994416dd81ae829f560b0a81bdcd", size = 65196, upload-time = "2026-08-27T10:02:37.007Z" }, + { url = "https://files.pythonhosted.org/packages/3c/f8/593f5caf0dacab41cde1564c5f0419e61af55ec9628006205e8fd5eb5e03/msgpack-1.2.2-cp313-cp313-win_amd64.whl", hash = "sha256:b07c03f0da7e5279170df7745ddc732d526c8a198208936ec1a95c11ed2b2d5f", size = 72203, upload-time = "2026-08-27T10:02:38.28Z" }, + { url = "https://files.pythonhosted.org/packages/bc/9e/c6ef92046b4a2bbb9d3aa0cb581cbf4a4051afccf6e5fb301a1bd3086f39/msgpack-1.2.2-cp313-cp313-win_arm64.whl", hash = "sha256:d13d07efbf655f9ae7a2352b630c52727b359005b21ba08a507585c9ac8c0896", size = 65435, upload-time = "2026-08-27T10:02:39.534Z" }, + { url = "https://files.pythonhosted.org/packages/5e/50/3e92c403346652cabd08cb8faceef847bae917ea3b3c81b64a5b6d09ed41/msgpack-1.2.2-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:e497ee34e8a3342bbde51b27c22d8db05a651df3361dd3daef5b3ab0d66f3e04", size = 84315, upload-time = "2026-08-27T10:02:41.181Z" }, + { url = "https://files.pythonhosted.org/packages/b6/dc/8efe6dd96a12ab043930cb4cffb40b6e7f061491d6ec7a3d2b75ef1fda42/msgpack-1.2.2-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:0dd9173c5ebaf5ecc5ca86e7ae1db92934e1d57b856f3dd90698941431f4fd77", size = 84634, upload-time = "2026-08-27T10:02:42.621Z" }, + { url = "https://files.pythonhosted.org/packages/1b/89/996573095bf7b038c04dd65ddbc4f1a4d381b0f7a44ff9186f3c7b8325c2/msgpack-1.2.2-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:8dc4487097571f7311188c3eca2a3e86cd1f1db4c37c7a017bcc3fd38486cbfe", size = 404194, upload-time = "2026-08-27T10:02:44.096Z" }, + { url = "https://files.pythonhosted.org/packages/b6/4e/46f5a5d949dbd054dab60cb15aac7ac6ae6774c134532893414689bf2f53/msgpack-1.2.2-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:73b0e05c32c3cfc3cd84994908e57430c0ebc6813abf905d3f18ff115d54df3f", size = 412343, upload-time = "2026-08-27T10:02:45.747Z" }, + { url = "https://files.pythonhosted.org/packages/da/e8/739a94197358a313307e6e9e7d8d22ef66add39222de911a44161aa96920/msgpack-1.2.2-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:aa1120c653b76d8eafa50423b5eba06b5c9737f8692c74fa3afe03e84b8978ea", size = 372620, upload-time = "2026-08-27T10:02:47.578Z" }, + { url = "https://files.pythonhosted.org/packages/03/d4/09b92e1fcdccea9466bfae45455367ac52362ae445d96a602e51b7a8df73/msgpack-1.2.2-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:ccfd880988f8438d1c91c77d7edc58e70f4d2012e999167bc154c64c6f06ea6b", size = 394603, upload-time = "2026-08-27T10:02:49.172Z" }, + { url = "https://files.pythonhosted.org/packages/47/db/d11bd6f258a60703dcdc7a3772818ad0c2f602ee4c2acfb24088c6c3ebc3/msgpack-1.2.2-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:6195257a107bf25872ef84aab7295078271eea3ac6413f0506b631f6c9586ed5", size = 372666, upload-time = "2026-08-27T10:02:50.886Z" }, + { url = "https://files.pythonhosted.org/packages/71/cf/fbbbac0c6e5fbb9d51abc23e3b5fe8620f5c01e0588797cf664a623bb9e1/msgpack-1.2.2-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:b8dd6c71d20c28d2d0eb0c51e7cccf3584afde3b1364f6629596186c9025bd54", size = 410889, upload-time = "2026-08-27T10:02:52.51Z" }, + { url = "https://files.pythonhosted.org/packages/94/60/8366558da954095e04e7fbc351f9387d87a682feaee9a235ceda966f794b/msgpack-1.2.2-cp314-cp314-win32.whl", hash = "sha256:d242f3c4ccf55b056e6cf901720dccde58f1df117898f2bbf3bcd6e38ec7c248", size = 66774, upload-time = "2026-08-27T10:02:53.984Z" }, + { url = "https://files.pythonhosted.org/packages/4b/3d/1ce873c8057c65e4fbb076ffe1c99c9ae39d90a00a2540d7b06c652a292f/msgpack-1.2.2-cp314-cp314-win_amd64.whl", hash = "sha256:1510f24612d4b983dff6935d9273e02c320cfd525727fbcb58836a75f589fdbc", size = 73424, upload-time = "2026-08-27T10:02:55.277Z" }, + { url = "https://files.pythonhosted.org/packages/d5/55/e36f2a33e38657f33850d74e0bf256838a0d45802c298cc501a32bffcc08/msgpack-1.2.2-cp314-cp314-win_arm64.whl", hash = "sha256:7826f16edc763e768404f55605ef85dfcf5857e729c1ed29e0d7c180be4fe6d8", size = 67657, upload-time = "2026-08-27T10:02:56.493Z" }, + { url = "https://files.pythonhosted.org/packages/64/58/7e764b957bae80ae281a9cb28761068c8bae8d5c6ac0873e43cc69d176c7/msgpack-1.2.2-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:f466049b8e1ec0854287bbe9a074316826fe0e08dcf707245f98b1ae49e92650", size = 86594, upload-time = "2026-08-27T10:02:57.796Z" }, + { url = "https://files.pythonhosted.org/packages/ae/f0/250f5985b6ee533e60d357571a808aaae03c54118294dc3db7158e27feb1/msgpack-1.2.2-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:1f6b6f8deb07d49090e1808c6ef9cb7d23ca17bef3aa6ed3e5e03df16606e60c", size = 87374, upload-time = "2026-08-27T10:02:59.256Z" }, + { url = "https://files.pythonhosted.org/packages/bd/2c/126ec8f187877c5f688631c543d1d3a3d75b2e66b83fb9de3ed7c13a39b6/msgpack-1.2.2-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b542ffc0a5c531eedc40419f291f1bd659aa8d4223408a5b51c88a2796083fd3", size = 428157, upload-time = "2026-08-27T10:03:00.9Z" }, + { url = "https://files.pythonhosted.org/packages/95/21/d2d81d50aaedb14147d01f22094185794db3ad8a8791b60afacba0627c89/msgpack-1.2.2-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:7d095df2627e5dd59ac7b0c5ad627a671c76e6020171e03cbe4621a61f0562c3", size = 426669, upload-time = "2026-08-27T10:03:02.457Z" }, + { url = "https://files.pythonhosted.org/packages/c6/fc/f7d484ee5b572719608e7ffad569bea22ff11309a96ca2fae85eec94226b/msgpack-1.2.2-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:ffdd2f4950daf7815490f23087963e3420175b9609520b7ff5df64d351159c22", size = 380625, upload-time = "2026-08-27T10:03:04.244Z" }, + { url = "https://files.pythonhosted.org/packages/0a/c4/b924cbd5516676f4e612329f18602a833bd055ffbe27f808eeba0f01bfea/msgpack-1.2.2-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:652d1bf13d01bac8fd569def0fe76745e55bcda01e30aa6332d5947ea3788839", size = 411328, upload-time = "2026-08-27T10:03:05.869Z" }, + { url = "https://files.pythonhosted.org/packages/27/9d/0c1d9683a951a80f270c3b7dac1022c18b9307617344dd44d904135d5e12/msgpack-1.2.2-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:9bf452ff4d4981f25a18e9476e002bcc9263e7928024aa4d7148e25f7be3f929", size = 377892, upload-time = "2026-08-27T10:03:07.37Z" }, + { url = "https://files.pythonhosted.org/packages/06/bb/bf22338cdd22e0b40c8f28468cea5f3d9c320244c095d8303364bc012c41/msgpack-1.2.2-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:55faa6f8395e23b848c535ad5dcb96b3462f37f5e7f4ac500d500434f7345da7", size = 419426, upload-time = "2026-08-27T10:03:09Z" }, + { url = "https://files.pythonhosted.org/packages/7d/42/6d02c19a01abd8d7ce817c321d2ee6af1a8e24d584dca619d1b6576a83bf/msgpack-1.2.2-cp314-cp314t-win32.whl", hash = "sha256:419a45c67a5c04213172a14b1864657e014665b77d7081b107a51707923dd39e", size = 71810, upload-time = "2026-08-27T10:03:10.498Z" }, + { url = "https://files.pythonhosted.org/packages/af/df/fda3a204415dab0a8c0db5461ef7205416ea52bd8581c5cafd361be07f3b/msgpack-1.2.2-cp314-cp314t-win_amd64.whl", hash = "sha256:935b1cfad9b908b0fa845010f4271df4c2f04e1cd26e3f18acd61a45f93c9e36", size = 78919, upload-time = "2026-08-27T10:03:12.016Z" }, + { url = "https://files.pythonhosted.org/packages/63/d4/4b4b0ef25a86deca91feaf7252ca885ba4f2ada40461379120122a04fe96/msgpack-1.2.2-cp314-cp314t-win_arm64.whl", hash = "sha256:11e8c421e117d1c36728b423d0402555cccbf0c6f53e288f0e75b6b12100d70f", size = 71925, upload-time = "2026-08-27T10:03:13.332Z" }, ] [[package]] @@ -1749,11 +1760,11 @@ wheels = [ [[package]] name = "pip" -version = "26.1.2" +version = "26.2.1" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/01/91/47e7d486260f618783899587af63ccf7980fb60245c3e63dd4571c6b57ad/pip-26.1.2.tar.gz", hash = "sha256:f49cd134c61cf2fd75e0ce2676db03e4054504a5a4986d00f8299ae632dc4605", size = 1840799, upload-time = "2026-05-31T17:33:58.56Z" } +sdist = { url = "https://files.pythonhosted.org/packages/ae/15/4500e320e6b101ec3b719ae85b697d9940b6cda672bc555bd6016fc60c6f/pip-26.2.1.tar.gz", hash = "sha256:f6ad667e89a1fe78046c8f13232b247200f5258d7828f3f7883d660878e0813f", size = 1848877, upload-time = "2026-08-04T22:51:14.148Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/5d/95/6b5cb3461ea5673ba0995989746db58eb18b91b54dbf331e72f569540946/pip-26.1.2-py3-none-any.whl", hash = "sha256:382ff9f685ee3bc25864f820aa50505825f10f5458ffff07e30a6d96e5715cab", size = 1813144, upload-time = "2026-05-31T17:33:56.772Z" }, + { url = "https://files.pythonhosted.org/packages/f3/6e/1736e5b4ae2b778ef2f81c47d797de9f891d4d8acb047a24ca37a60294dd/pip-26.2.1-py3-none-any.whl", hash = "sha256:71138adf1f4ca900cdb7d289c21b7494329f2332b6d85f0e1c42108c0384ed3e", size = 1816632, upload-time = "2026-08-04T22:51:12.472Z" }, ] [[package]] @@ -2066,15 +2077,15 @@ wheels = [ [[package]] name = "pymdown-extensions" -version = "10.21.3" +version = "12.0.1" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "markdown" }, { name = "pyyaml" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/9e/26/d1015444da4d952a1ca487a236b522eb979766f0295a0bd0c5fc089989a9/pymdown_extensions-10.21.3.tar.gz", hash = "sha256:72cfcf55f07aea0d4af2c4f11dd4e52466ddfb1bb819673146398e0bd3a77354", size = 854140, upload-time = "2026-05-13T12:57:32.267Z" } +sdist = { url = "https://files.pythonhosted.org/packages/eb/7e/53144b512818c75d459523e3a91d9bf7b65cd6a1dfb964fe690adc8b3670/pymdown_extensions-12.0.1.tar.gz", hash = "sha256:88fe2c97fb9153b9f2cc1da59f1d7c7cb74971110daf33cccb2a5514e0f7e970", size = 866904, upload-time = "2026-09-15T23:20:33.187Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/7e/85/545a951eecc270fcd688288c600017e2050a1aacb56c711d208586d3e470/pymdown_extensions-10.21.3-py3-none-any.whl", hash = "sha256:d7a5d08014fc571e80ca21dd6f854e31f94c489800350564d55d15b3c41e76b6", size = 269002, upload-time = "2026-05-13T12:57:30.296Z" }, + { url = "https://files.pythonhosted.org/packages/8c/30/c866b3ca8ad5cca79a3ee1a55c12d61d3e72381e5eadbfdaceb6006ebc84/pymdown_extensions-12.0.1-py3-none-any.whl", hash = "sha256:15d629e8035892b93d788a8424ccea754d4aa3cec247a64cbfe7b15089c9ad7f", size = 276957, upload-time = "2026-09-15T23:20:31.551Z" }, ] [[package]] From ac61cf2809d8b987fc79b15c9eadc28954be67d3 Mon Sep 17 00:00:00 2001 From: "M. Nihat Gurmen" Date: Sat, 19 Sep 2026 10:51:37 +0300 Subject: [PATCH 2/2] style: ruff format base.py --- src/dexalot_sdk/core/base.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/dexalot_sdk/core/base.py b/src/dexalot_sdk/core/base.py index d10087d..ba20d81 100644 --- a/src/dexalot_sdk/core/base.py +++ b/src/dexalot_sdk/core/base.py @@ -1523,7 +1523,9 @@ def _connected_chain_key(self, env: str | None) -> str: when the environments have not been loaded. """ chain_id = ( - self.CHAIN_ID_AVAX_MAINNET if env == self.ENV_PROD_MULTI_AVAX else self.CHAIN_ID_AVAX_FUJI + self.CHAIN_ID_AVAX_MAINNET + if env == self.ENV_PROD_MULTI_AVAX + else self.CHAIN_ID_AVAX_FUJI ) for name, cfg in (self.chain_config or {}).items(): if cfg.get("chain_id") == chain_id: