@@ -21,10 +21,6 @@ def __init__(
2121 base_url : Optional [str ] = None ,
2222 auto_start_server : Optional [bool ] = None ,
2323 pmxt_api_key : Optional [str ] = None ,
24- # NOTE: Generated wrapper; update the generator template in
25- # core/scripts/generate-python-exchanges.js in a follow-up.
26- wallet_address : Optional [str ] = None ,
27- signer : Optional [object ] = None ,
2824 ) -> None :
2925 """
3026 Initialize Polymarket client.
@@ -39,8 +35,6 @@ def __init__(
3935 base_url: Base URL of the PMXT sidecar server
4036 auto_start_server: Automatically start server if not running (default: True)
4137 pmxt_api_key: Hosted PMXT API key (optional; enables hosted mode)
42- wallet_address: Ethereum address for hosted reads/writes (optional)
43- signer: Optional callable for signing typed_data (optional)
4438 """
4539 super ().__init__ (
4640 exchange_name = "polymarket" ,
@@ -51,8 +45,6 @@ def __init__(
5145 base_url = base_url ,
5246 auto_start_server = auto_start_server ,
5347 pmxt_api_key = pmxt_api_key ,
54- wallet_address = wallet_address ,
55- signer = signer ,
5648 )
5749
5850 self .api_secret = api_secret
@@ -296,10 +288,6 @@ def __init__(
296288 base_url : Optional [str ] = None ,
297289 auto_start_server : Optional [bool ] = None ,
298290 pmxt_api_key : Optional [str ] = None ,
299- # NOTE: Generated wrapper; update the generator template in
300- # core/scripts/generate-python-exchanges.js in a follow-up.
301- wallet_address : Optional [str ] = None ,
302- signer : Optional [object ] = None ,
303291 ) -> None :
304292 """
305293 Initialize Opinion client.
@@ -311,8 +299,6 @@ def __init__(
311299 base_url: Base URL of the PMXT sidecar server
312300 auto_start_server: Automatically start server if not running (default: True)
313301 pmxt_api_key: Hosted PMXT API key (optional; enables hosted mode)
314- wallet_address: Ethereum address for hosted reads/writes (optional)
315- signer: Optional callable for signing typed_data (optional)
316302 """
317303 super ().__init__ (
318304 exchange_name = "opinion" ,
@@ -322,8 +308,6 @@ def __init__(
322308 base_url = base_url ,
323309 auto_start_server = auto_start_server ,
324310 pmxt_api_key = pmxt_api_key ,
325- wallet_address = wallet_address ,
326- signer = signer ,
327311 )
328312
329313
@@ -535,31 +519,6 @@ def __init__(
535519 pmxt_api_key = pmxt_api_key ,
536520 )
537521
538-
539- class Router (Exchange ):
540- """Router exchange client."""
541-
542- def __init__ (
543- self ,
544- base_url : Optional [str ] = None ,
545- auto_start_server : Optional [bool ] = None ,
546- pmxt_api_key : Optional [str ] = None ,
547- ) -> None :
548- """
549- Initialize Router client.
550-
551- Args:
552- base_url: Base URL of the PMXT sidecar server
553- auto_start_server: Automatically start server if not running (default: True)
554- pmxt_api_key: Hosted PMXT API key (optional; enables hosted mode)
555- """
556- super ().__init__ (
557- exchange_name = "router" ,
558- base_url = base_url ,
559- auto_start_server = auto_start_server ,
560- pmxt_api_key = pmxt_api_key ,
561- )
562-
563522# Backwards-compatible aliases for exchange classes generated before underscore handling.
564523Polymarket_us = PolymarketUS
565524Suibets = SuiBets
0 commit comments