polynode 0.7.2__tar.gz → 0.7.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {polynode-0.7.2 → polynode-0.7.4}/PKG-INFO +1 -1
- polynode-0.7.4/polynode/_version.py +1 -0
- {polynode-0.7.2 → polynode-0.7.4}/polynode/trading/escrow.py +1 -1
- {polynode-0.7.2 → polynode-0.7.4}/polynode/trading/trader.py +2 -0
- {polynode-0.7.2 → polynode-0.7.4}/pyproject.toml +1 -1
- polynode-0.7.2/polynode/_version.py +0 -1
- {polynode-0.7.2 → polynode-0.7.4}/.gitignore +0 -0
- {polynode-0.7.2 → polynode-0.7.4}/README.md +0 -0
- {polynode-0.7.2 → polynode-0.7.4}/polynode/__init__.py +0 -0
- {polynode-0.7.2 → polynode-0.7.4}/polynode/cache/__init__.py +0 -0
- {polynode-0.7.2 → polynode-0.7.4}/polynode/client.py +0 -0
- {polynode-0.7.2 → polynode-0.7.4}/polynode/engine.py +0 -0
- {polynode-0.7.2 → polynode-0.7.4}/polynode/errors.py +0 -0
- {polynode-0.7.2 → polynode-0.7.4}/polynode/orderbook.py +0 -0
- {polynode-0.7.2 → polynode-0.7.4}/polynode/orderbook_state.py +0 -0
- {polynode-0.7.2 → polynode-0.7.4}/polynode/redemption_watcher.py +0 -0
- {polynode-0.7.2 → polynode-0.7.4}/polynode/short_form.py +0 -0
- {polynode-0.7.2 → polynode-0.7.4}/polynode/subscription.py +0 -0
- {polynode-0.7.2 → polynode-0.7.4}/polynode/testing.py +0 -0
- {polynode-0.7.2 → polynode-0.7.4}/polynode/trading/__init__.py +0 -0
- {polynode-0.7.2 → polynode-0.7.4}/polynode/trading/clob_api.py +0 -0
- {polynode-0.7.2 → polynode-0.7.4}/polynode/trading/constants.py +0 -0
- {polynode-0.7.2 → polynode-0.7.4}/polynode/trading/cosigner.py +0 -0
- {polynode-0.7.2 → polynode-0.7.4}/polynode/trading/eip712.py +0 -0
- {polynode-0.7.2 → polynode-0.7.4}/polynode/trading/onboarding.py +0 -0
- {polynode-0.7.2 → polynode-0.7.4}/polynode/trading/position_management.py +0 -0
- {polynode-0.7.2 → polynode-0.7.4}/polynode/trading/privy.py +0 -0
- {polynode-0.7.2 → polynode-0.7.4}/polynode/trading/signer.py +0 -0
- {polynode-0.7.2 → polynode-0.7.4}/polynode/trading/sqlite_backend.py +0 -0
- {polynode-0.7.2 → polynode-0.7.4}/polynode/trading/types.py +0 -0
- {polynode-0.7.2 → polynode-0.7.4}/polynode/types/__init__.py +0 -0
- {polynode-0.7.2 → polynode-0.7.4}/polynode/types/enums.py +0 -0
- {polynode-0.7.2 → polynode-0.7.4}/polynode/types/events.py +0 -0
- {polynode-0.7.2 → polynode-0.7.4}/polynode/types/orderbook.py +0 -0
- {polynode-0.7.2 → polynode-0.7.4}/polynode/types/rest.py +0 -0
- {polynode-0.7.2 → polynode-0.7.4}/polynode/types/short_form.py +0 -0
- {polynode-0.7.2 → polynode-0.7.4}/polynode/types/ws.py +0 -0
- {polynode-0.7.2 → polynode-0.7.4}/polynode/ws.py +0 -0
- {polynode-0.7.2 → polynode-0.7.4}/tests/__init__.py +0 -0
- {polynode-0.7.2 → polynode-0.7.4}/tests/conftest.py +0 -0
- {polynode-0.7.2 → polynode-0.7.4}/tests/test_client.py +0 -0
- {polynode-0.7.2 → polynode-0.7.4}/tests/test_orderbook.py +0 -0
- {polynode-0.7.2 → polynode-0.7.4}/tests/test_trading.py +0 -0
- {polynode-0.7.2 → polynode-0.7.4}/tests/test_types.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.7.4"
|
|
@@ -587,6 +587,8 @@ class PolyNodeTrader:
|
|
|
587
587
|
fee_auth_dict = None
|
|
588
588
|
fee_amount_raw = 0
|
|
589
589
|
if fee_config and fee_config.fee_bps > 0:
|
|
590
|
+
if not fee_config.affiliate or fee_config.affiliate == "0x0000000000000000000000000000000000000000":
|
|
591
|
+
raise ValueError("fee_config.affiliate is required when fee_bps > 0 — set it to the wallet address where you want fees sent")
|
|
590
592
|
fee_amount_raw = calculate_fee(params.price, params.size, fee_config.fee_bps)
|
|
591
593
|
if fee_amount_raw > 0:
|
|
592
594
|
funder = creds.funder_address or creds.wallet_address
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.7.2"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|