Skip to content

Commit

Permalink
Merge pull request #13 from Polymarket/fix/enforce-executor-taker
Browse files Browse the repository at this point in the history
Fix: enforce executor as taker address on limit orders
  • Loading branch information
JonathanAmenechi authored Mar 29, 2022
2 parents e98c1c7 + 6ce0e2d commit e407d9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions py_clob_client/orders/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ def create_limit_order(self, order_args: LimitOrderArgs):
taker_asset_address=taker_asset,
taker_asset_id=taker_asset_id,
maker_address=self.funder,
taker_address=self.contract_config.get_executor(),
maker_amount=maker_amount,
taker_amount=taker_amount,
signer=self.signer.address,
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="py_clob_client",
version="0.0.10",
version="0.0.11",
author="Jonathan Amenechi",
author_email="[email protected]",
description="Python client for the Polymarket CLOB",
Expand Down

0 comments on commit e407d9a

Please sign in to comment.